mirror of
https://github.com/torvalds/linux
synced 2024-10-15 07:47:34 +00:00
media: rcar-isp: Disallow unbind of devices
It is not safe to unbind and then rebind a subdevice in the rcar-vin pipeline. Depending on what subdevice and in what order a device is rebound the rcar-vin driver can misbehave. Until this can be solved suppress the files in sysfs which allows for this. This is in line with what is done for other subdevices exclusively use with the rcar-vin pipeline, e.g. rcar-csi2. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
65e6a2773d
commit
b14257abe7
|
@ -518,6 +518,7 @@ static void risp_remove(struct platform_device *pdev)
|
|||
static struct platform_driver rcar_isp_driver = {
|
||||
.driver = {
|
||||
.name = "rcar-isp",
|
||||
.suppress_bind_attrs = true,
|
||||
.of_match_table = risp_of_id_table,
|
||||
},
|
||||
.probe = risp_probe,
|
||||
|
|
Loading…
Reference in a new issue