Re: [PATCH v2 1/1] imx258: Fix sparse warnings

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

 



Hi Andy,

On Mon, Jan 22, 2018 at 03:19:00PM +0000, Yeh, Andy wrote:
> Hi Sakari,
> 
> I made a minor fix. I2C write function works after the change.  Please kindly review soon then I would submit v5. 
> 
> 	*buf++ = reg >> 8;
> 	*buf++ = reg & 0xff;
> 
> -	for (i = len - 1; i >= 0; i++)
> +	for (i = len - 1; i >= 0; i--)

Oops... it was untested all along. Thanks! I'll send v3.

-- 
Sakari Ailus
sakari.ailus@xxxxxxxxxxxxxxx



[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