]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8b956aaa7faf990487650fea207b5bb0cf1528b7
treef9223fc9a4ec37674dbb77e3d8175f0b5617a2cb
parent4947ad0bdde6f38eae6c612d695a5b1e57499fb0
[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