Skip to content

Commit 328af04

Browse files
Sakari AilusHans Verkuil
authored andcommitted
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: 33116eb ("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>
1 parent c19fa08 commit 328af04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/media/pci/intel/ivsc/mei_csi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ static int mei_csi_probe(struct mei_cl_device *cldev,
677677
return -ENODEV;
678678

679679
ret = ipu_bridge_init(&ipu->dev, ipu_bridge_parse_ssdb);
680+
put_device(&ipu->dev);
680681
if (ret < 0)
681682
return ret;
682683
if (WARN_ON(!dev_fwnode(dev)))

0 commit comments

Comments
 (0)