[media] em28xx: use usb_alloc_coherent() for audio
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 28 Dec 2013 14:47:16 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 10 Jan 2014 08:00:25 +0000 (06:00 -0200)
commit46c704d77f785974ce095b6cf0c71b92d1b06706
treef9223fc9a4ec37674dbb77e3d8175f0b5617a2cb
parentdad4c41827c71a84c8455e19431278e8c1edf118
[media] em28xx: use usb_alloc_coherent() for audio

Instead of allocating transfer buffers with kmalloc() use
usb_alloc_coherent().

This patch should make it work also with ARM CPUs.

Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c