summaryrefslogtreecommitdiff
path: root/drivers/soundwire/intel.c
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2020-01-06 15:32:51 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-01-09 14:41:41 +0100
commitb0e4cfae483fe1e3db71ab2d8509490df60e52c6 (patch)
tree9169e7f98c0d11a8239061f896a810ed540ef7d5 /drivers/soundwire/intel.c
parent7fcaed4ab4bc454757da266076f4b28fa93f54d1 (diff)
media: davinci/vpfe_capture.c: Avoid BUG_ON for register failure
In vpfe_register_ccdc_device(), failure to allocate dev->hw_ops fields calls BUG_ON(). This patch returns the error to callers instead of crashing. The issue was identified by a static analysis tool, written by us. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel.c')
0 files changed, 0 insertions, 0 deletions