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

2018-01-30 Thread Sakari Ailus
Hi Andy, On Sat, Jan 27, 2018 at 04:24:39PM +, Yeh, Andy wrote: > Fix a few sparse warnings related to conversion between CPU and big endian. > Also simplify the code in the process. > > Signed-off-by: Sakari Ailus > Acked-by: Andy Yeh Thanks for the ack. There's no need to resend the pat

[PATCH v3 1/1] imx258: Fix sparse warnings

2018-01-27 Thread Yeh, Andy
Fix a few sparse warnings related to conversion between CPU and big endian. Also simplify the code in the process. Signed-off-by: Sakari Ailus Acked-by: Andy Yeh --- since v2: - Count loop downwards, not up. drivers/media/i2c/imx258.c | 23 +-- 1 file changed, 9 insertion

[PATCH v3 1/1] imx258: Fix sparse warnings

2018-01-22 Thread Sakari Ailus
Fix a few sparse warnings related to conversion between CPU and big endian. Also simplify the code in the process. Signed-off-by: Sakari Ailus --- since v2: - Count loop downwards, not up. drivers/media/i2c/imx258.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-)