summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-10 13:29:16 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-12 11:57:04 -0200
commit49677aef90de7834e7bb4b0adf95c3342c2c8668 (patch)
treec408101461ecdd783c8d5f8fe88423f518fb808e /mm
parent1b3fd2d342667005855deae74200195695433259 (diff)
[media] em28xx-audio: fix the period size in bytes
If the period size is wrong, userspace will assume a wrong delay any may negociate an inadequate value. The em28xx devices use 8 for URB interval, in microframes, and the driver programs it to have 64 packets. That means that the IRQ sampling period is 125 * 8 * 64, with is equal to 64 ms. So, that's the minimal latency with the current settings. It is possible to program a lower latency, by using less than 64 packets, but that increases the amount of bandwitdh used, and the number of IRQ events per second. In any case, in order to support it, the driver logic should be changed to fill those parameters in realtime. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions