diff options
| author | Dan Carpenter <[email protected]> | 2021-10-13 07:53:19 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-15 08:11:34 +0000 |
| commit | 85db29d22cc521d9d06de2f5c7832981a55df157 (patch) | |
| tree | 6ae2641780d95ead6d42dd29a0dd62ee9afd756b /drivers/media/i2c/ccs/ccs-core.c | |
| parent | media: staging: ipu3-imgu: clarify the limitation of grid config (diff) | |
| download | kernel-85db29d22cc521d9d06de2f5c7832981a55df157.tar.gz kernel-85db29d22cc521d9d06de2f5c7832981a55df157.zip | |
media: ipu3-cio2: fix error code in cio2_bridge_connect_sensor()
Return -ENODEV if acpi_get_physical_device_location() fails. Don't
return success.
Fixes: 485aa3df0dff ("media: ipu3-cio2: Parse sensor orientation and rotation")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Daniel Scally <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions
