commit | d08876f524a605d64c7ca32cb8e9f5be3839e82e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Nov 16 09:11:54 2016 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Nov 22 16:29:01 2016 -0200 |
tree | c1891a896ec6b28dd302ba9653385efa644f3fe6 | |
parent | 414e72c729534a89017bc19415edc4957ebcc6fa [diff] |
[media] stk-webcam: fix an endian bug in stk_camera_read_reg() 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>