mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
media: mei: csi: Put the IPU device reference
The mei csi's probe function obtains a reference to the IPU device but
never puts that reference. Do that now.
Fixes: 33116eb12c
("media: ivsc: csi: Use IPU bridge")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
c19fa08c14
commit
328af04b1a
@ -677,6 +677,7 @@ static int mei_csi_probe(struct mei_cl_device *cldev,
|
||||
return -ENODEV;
|
||||
|
||||
ret = ipu_bridge_init(&ipu->dev, ipu_bridge_parse_ssdb);
|
||||
put_device(&ipu->dev);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
if (WARN_ON(!dev_fwnode(dev)))
|
||||
|
Loading…
Reference in New Issue
Block a user