]> git.karo-electronics.de Git - linux-beck.git/commit
[media] go7007: fix DMA related errors
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 9 Mar 2013 12:59:16 +0000 (09:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Mar 2013 15:41:27 +0000 (12:41 -0300)
commit9b6ebf3309d1b2e62727133b446397a783813331
tree31d5d570c5d117fdbbcf5a2d64e7e708bef267d4
parentfabfd71153c7e98aca77c8069a633f3a25bcdaf7
[media] go7007: fix DMA related errors

- Don't pass data allocated on the stack to usb_control_msg.
- Use dma_mapping_error after calling dma_map_page().

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/go7007-priv.h
drivers/staging/media/go7007/go7007-usb.c
drivers/staging/media/go7007/s2250-board.c
drivers/staging/media/go7007/saa7134-go7007.c