Searched refs:rom_buf (Results 1 – 1 of 1) sorted by relevance
703 u8 *rom_buf; in ks7010_copy_firmware() local706 rom_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL); in ks7010_copy_firmware()707 if (!rom_buf) in ks7010_copy_firmware()723 memcpy(rom_buf, fw_entry->data + n, size); in ks7010_copy_firmware()731 ret = ks7010_sdio_write(priv, DATA_WINDOW, rom_buf, size); in ks7010_copy_firmware()736 DATA_WINDOW, rom_buf, size); in ks7010_copy_firmware()747 kfree(rom_buf); in ks7010_copy_firmware()