Files
twx-linux/drivers/media
Dan Carpenter d539f0aa5d stk-webcam: fix an endian bug in stk_camera_read_reg()
commit d08876f524 upstream.

We pass an int pointer to stk_camera_read_reg() but only write to the
highest byte.  It's a bug on big endian systems and generally a nasty
thing to do and doesn't match the write function either.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-29 11:31:57 +02:00
..
2018-04-13 19:48:22 +02:00
…
2018-03-24 11:00:23 +01:00
…
…
…