diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-08-12 12:44:27 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-22 20:03:27 +0300 |
commit | 1e6e97541ab51b65019bd823506af81ebb3730fc (patch) | |
tree | 88d274b17a2333e84412042984a10445e5ff646d /drivers/staging | |
parent | 73b14977549e4e1214413e7da2d0e97a9947bf8d (diff) | |
download | linux-1e6e97541ab51b65019bd823506af81ebb3730fc.tar.xz |
[media] pulse8-cec: set correct Signal Free Time
Don't hardcode the signal free time to 3 bit periods, instead use
the value for the signal free time as passed in by the CEC framework.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/pulse8-cec/pulse8-cec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/pulse8-cec/pulse8-cec.c b/drivers/staging/media/pulse8-cec/pulse8-cec.c index 94f8590492dc..28f853c80b19 100644 --- a/drivers/staging/media/pulse8-cec/pulse8-cec.c +++ b/drivers/staging/media/pulse8-cec/pulse8-cec.c @@ -388,7 +388,7 @@ static int pulse8_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, int err; cmd[0] = MSGCODE_TRANSMIT_IDLETIME; - cmd[1] = 3; + cmd[1] = signal_free_time; err = pulse8_send_and_wait(pulse8, cmd, 2, MSGCODE_COMMAND_ACCEPTED, 1); cmd[0] = MSGCODE_TRANSMIT_ACK_POLARITY; |