[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)
commita02b9c238b408f69fc78d528b549b85001df98b8
treeac3fadaf4a4c826a7fd9c44716f60a3311876a23
parentebbfbc2006700f0b5701fb3efa44b55a09fba5d1
[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