diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-16 09:11:54 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-22 16:29:01 -0200 |
commit | d08876f524a605d64c7ca32cb8e9f5be3839e82e (patch) | |
tree | c1891a896ec6b28dd302ba9653385efa644f3fe6 /ipc | |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions