aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2017-08-31 12:56:10 -0400
committerMauro Carvalho Chehab <[email protected]>2017-09-23 07:29:30 -0400
commite949f61461ab83b094cad564c89a8d2b078b4508 (patch)
tree9bb255c603c6ccc1f23712494b535710e0245153 /lib/memory-notifier-error-inject.c
parent81b79c71e546fc15e95e804de2497a448cc51a47 (diff)
media: s5p-cec: add NACK detection support
The s5p-cec driver returned CEC_TX_STATUS_ERROR for the NACK condition. Some digging into the datasheet uncovered the S5P_CEC_TX_STAT1 register where bit 0 indicates if the transmit was nacked or not. Use this to return the correct CEC_TX_STATUS_NACK status to userspace. This was the only driver that couldn't tell a NACK from another error, and that was very unusual. And a potential problem for applications as well. Tested with my Odroid-U3. Signed-off-by: Hans Verkuil <[email protected]> Acked-by: Sylwester Nawrocki <[email protected]> Cc: <[email protected]> # for v4.12 and up Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions