diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-08-23 14:07:21 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-26 12:30:14 +0300 |
commit | 8f4b5b0af7e451a4c6698ad3441dde8d1286c80d (patch) | |
tree | 8b7b8ad8fc1066d13036284e5be111ba4d330464 /include/net/bpf_sk_storage.h | |
parent | 577bbf23b758848f0c4a50d346460b690c753024 (diff) | |
download | linux-8f4b5b0af7e451a4c6698ad3441dde8d1286c80d.tar.xz |
media: cec-adap: return from cec_s_conn_info() if adap is invalid
Check if cec_s_conn_info is called with a valid cec adapter,
do nothing if it is invalid.
This makes it possible to call this function even if CEC support is
disabled in the kernel config.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/net/bpf_sk_storage.h')
0 files changed, 0 insertions, 0 deletions