aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Scheller <[email protected]>2018-02-09 13:22:49 -0500
committerMauro Carvalho Chehab <[email protected]>2018-03-06 08:58:34 -0500
commitda2cf18ff883b6130b1a6e4a3e9402abcb9f5bc0 (patch)
tree6aab1b91de962d691b5ec15d951283b8101d1fcc /tools/perf/scripts/python
parent15f757bb5ab237a123a2d5a8140cece1bc7bb617 (diff)
media: dvb-frontends/stv0910: rework and fix DiSEqC send
Rework both DiSEqC send functions (send_master_cmd() and send_burst()) to utilise the new SET_REG() and SET_FIELD() macros. Esp. due to SET_FIELD(), this makes sure that not all bits (with unrelated purposes) are always rewritten, but only those needed for sending DiSEqC commands. In send_burst(), this makes sure that DISEQC_MODE isn't changed from 3 to 2 inbetween when sending SEC_MINI_A. Also, change both functions to write DISEQC_MODE first before setting DIS_PRECHARGE. This makes diseqc control work more reliable for "fullblown" DiSEqC strings in VDR's diseqc.conf in combination with certain multiswitches. Fixes: 448461af0e19 ("media: dvb-frontends/stv0910: implement diseqc_send_burst") Reported-by: Helmut Auer <[email protected]> Cc: Ralph Metzler <[email protected]> Signed-off-by: Daniel Scheller <[email protected]> Tested-by: Helmut Auer <[email protected]> Tested-by: Richard Scobie <[email protected]> Tested-by: Dietmar Spingler <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions