diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2018-02-12 06:45:32 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-26 08:14:13 -0500 |
commit | ed356f110403f6acc64dcbbbfdc38662ab9b06c2 (patch) | |
tree | 94b7a86493646282d82134a70dbfe5954568279f /drivers/watchdog/davinci_wdt.c | |
parent | 290ef7d846b35205975786296388c082e50d4319 (diff) |
media: vivid: check if the cec_adapter is valid
If CEC is not enabled for the vivid driver, then the adap pointer is NULL
and 'adap->phys_addr' will fail.
Cc: <stable@vger.kernel.org> # for v4.12 and up
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/watchdog/davinci_wdt.c')
0 files changed, 0 insertions, 0 deletions