diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-03-17 08:51:20 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-04-24 07:40:42 +0100 |
| commit | e2ed5024ac2bc27d4bfc99fd58f5ab54de8fa965 (patch) | |
| tree | cbf06cf9cdc0b39160ff83a0e4b48af9582989f4 /include | |
| parent | 567f882a401346779d05a90beb8f21865ebdd398 (diff) | |
| download | linux-e2ed5024ac2bc27d4bfc99fd58f5ab54de8fa965.tar.gz linux-e2ed5024ac2bc27d4bfc99fd58f5ab54de8fa965.tar.bz2 linux-e2ed5024ac2bc27d4bfc99fd58f5ab54de8fa965.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
