diff options
author | 2020-05-28 12:11:57 +0200 | |
---|---|---|
committer | 2020-06-11 18:24:23 +0200 | |
commit | d9ab83953fa700cc7be319cea1ec747601a124a1 (patch) | |
tree | 2c16e3d7bd6259a757a33e9b8b5b34efdfba9d32 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: atomisp: get rid of an error abstraction layer (diff) | |
download | wireguard-linux-d9ab83953fa700cc7be319cea1ec747601a124a1.tar.xz wireguard-linux-d9ab83953fa700cc7be319cea1ec747601a124a1.zip |
media: atomisp: don't cause a warn if probe failed
When probe fails, it is possible that hmm_init() to not be
called. On such case, hmm_cleanup() will cause a WARN_ON().
Avoid it by adding an explicit check at hmm_cleanup() to
ensure that the hmm code was properly initialized.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions