diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-03-17 11:51:20 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-04-24 09:40:42 +0300 |
commit | e2ed5024ac2bc27d4bfc99fd58f5ab54de8fa965 (patch) | |
tree | cbf06cf9cdc0b39160ff83a0e4b48af9582989f4 /arch/sparc/kernel/mdesc.c | |
parent | 567f882a401346779d05a90beb8f21865ebdd398 (diff) | |
download | linux-e2ed5024ac2bc27d4bfc99fd58f5ab54de8fa965.tar.xz |
media: cec: use call_op and check for !unregistered
Use call_(void_)op consistently in the CEC core framework. Ditto
for the cec pin ops. And check if !adap->devnode.unregistered before
calling each op. This avoids calls to ops when the device has been
unregistered and the underlying hardware may be gone.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'arch/sparc/kernel/mdesc.c')
0 files changed, 0 insertions, 0 deletions