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)
commit7772e380efcde7e6a2cdb731cf03b28582d6c51c
treeae1b1cfdc4ada7f7f8d70ce87f5034d0d6c321d0
parent0092293ec7981e9d46fa9103b07cfd63b3824b44
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