diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-08-24 08:53:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:03:02 +0100 |
commit | 52f39ca0467cbf62bf19b65148d180e9c5aadaf6 (patch) | |
tree | f716e87ac815083619d5034f0812c5ad774cb5bd /sound/hda/ext | |
parent | e1c798aebcb8d9fb83848d6cabfcc0b2e247e94e (diff) |
media: omap3isp: Fix memleak in isp_probe
[ Upstream commit d8fc21c17099635e8ebd986d042be65a6c6b5bd0 ]
When devm_ioremap_resource() fails, isp should be
freed just like other error paths in isp_probe.
Fixes: 8644cdf972dd6 ("[media] omap3isp: Replace many MMIO regions by two")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/hda/ext')
0 files changed, 0 insertions, 0 deletions