upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:43 +0000 (14:26 +0900)
commitaad6ce38420a0382171262672e4da5d37a69148b
tree4db308082b69b03c0319573f3db2df8af0fc12a1
parent9041106ccec62255f260c910d209d9577d6f7867
upstream: [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