]> git.baikalelectronics.ru Git - kernel.git/commit
media: si2168: change ts bus control logic
authorBrad Love <brad@nextdimension.cc>
Mon, 12 Feb 2018 20:19:04 +0000 (15:19 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 14:12:32 +0000 (09:12 -0500)
commit27c7c4561f1a49d4d8f047d27234b0575d2039c5
tree148e453320f710c2a4adcebdc80315673b2bd5d4
parent2814c718719ea358770c6af7ddf5c984980b6ce8
media: si2168: change ts bus control logic

Move the ts bus control function moved higher, enabling it
after configuring frontend and removeing ts_bus_ctrl callback.

While here, also add an error checking and re-add a comment
that were removed by commit 50cc4e95f76a ("media: si2168:
Add ts bus coontrol, turn off bus on sleep").

[mchehab@s-opensource.com: I ended by applying the first version,
 instead of the right one. So, this patch contains the diff and
 the v2 changelog instead]

Fixes: 50cc4e95f76a ("media: si2168: Add ts bus coontrol, turn off bus on sleep")
Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/si2168.c