]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: adjust period size at runtime
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 06:34:23 +0000 (03:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 16:39:52 +0000 (14:39 -0200)
commit6d284b234e973daf50a380169a61dee6763f050d
treeac3fadaf4a4c826a7fd9c44716f60a3311876a23
parent183190af61b2bd9f117599fbeadff005ec20b74e
[media] em28xx: adjust period size at runtime

While the current hardcoded period is ok for the current values,
we may latter change the driver to work with different bit rates
or with different latencies than 64ms.

So, adust the period size at runtime.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c
drivers/media/usb/em28xx/em28xx.h