Re: [PATCH 2/3] media: si2157: Add optional firmware download

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

 



> 	ret = si2157_load_firmware(fe, fw_name);
>  	if (ret) {
> +		if (!fw_required)
> +			goto skip_fw_download;
> +

In conjunction with my proposal for PATCH 1/3, this can be simplified to:

ret = si2157_load_firmware(fe, fw_name);
if (ret && fw_required)
        goto err;

Best Regards,
-Robert Schlabbach



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux