[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)
commit4c055a5ae94c76b1139d6e071812d39eed3b67cd
tree71fecf33aba549586dbd2bdd60c4c39c228cd011
parent801b69f2570e2556c6d5a060df85ce9bd0d38119
[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