summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/ldc.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2022-03-17 11:51:20 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-04-24 09:40:42 +0300
commite2ed5024ac2bc27d4bfc99fd58f5ab54de8fa965 (patch)
treecbf06cf9cdc0b39160ff83a0e4b48af9582989f4 /arch/sparc/kernel/ldc.c
parent567f882a401346779d05a90beb8f21865ebdd398 (diff)
downloadlinux-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/ldc.c')
0 files changed, 0 insertions, 0 deletions