]> git.baikalelectronics.ru Git - kernel.git/commit
media: af9015: enhance streaming config
authorAntti Palosaari <crope@iki.fi>
Thu, 13 Jul 2017 05:56:41 +0000 (01:56 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Mar 2018 18:14:25 +0000 (14:14 -0400)
commitdb67771c3913a452018b62784b2dcd845c32c304
treeae1b1cfdc4ada7f7f8d70ce87f5034d0d6c321d0
parente6cd2549a7e29f09d8115d9493261d880b4afb45
media: af9015: enhance streaming config

Replace static stream settings by one which enables and disables
stream interface when needed (TS streaming control).

1) Configure both TS IF and USB endpoints according to current use case

2) Disable streaming USB endpoints when streaming is stopped and
enable when streaming is started. Reduces sleep power consumption
slightly.

3) Reduce USB buffersize slightly, from 130848 to 98136 bytes

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb-v2/af9015.c
drivers/media/usb/dvb-usb-v2/af9015.h