Re: [PATCH 3/5] media: atomisp: Prefix firmware paths with "intel/ipu/"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 03, 2024 at 03:20:55PM +0200, Hans de Goede wrote:
> The atomisp firmwares have been added to upstream linux-firmware
> under intel/ipu/ add this prefix to the firmware name passed
> to request_firmware().
> 
> Fall back to the old location if this fails to avoid breaking existing
> setups.

...

> +	/* Fallback to old fw_path with "intel/ipu/" prefix */
> +	if (rc)
> +		rc = request_firmware(&fw, strrchr(fw_path, '/') + 1, isp->dev);

Perhaps kbasename() ?

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux