]> git.baikalelectronics.ru Git - kernel.git/commit
[media] redrat3: remove memcpys and fix unaligned memory access
authorSean Young <sean@mess.org>
Sat, 16 Feb 2013 20:25:44 +0000 (17:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Mar 2013 18:14:03 +0000 (15:14 -0300)
commit82cc80d51e1459d1e3d1268408369aa5666c059c
tree71fecf33aba549586dbd2bdd60c4c39c228cd011
parenta66a70335d98dca4fb9dbe98f4e17a8662a0bae5
[media] redrat3: remove memcpys and fix unaligned memory access

In stead of doing a memcpy from #defined offset, declare structs which
describe the incoming and outgoing data accurately.
Tested on first generation RedRat.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/redrat3.c