m: camera: sensor: Fix the sensor code for missing symbol
Fix the sensor code failure for i3cdev_to_dev API which is missing the symbol in the kernel allow list. CRs-Fixed: 3200508 Change-Id: I99f1ae98e322ae4116cccb9cc7ba42fcc7b8a89a Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com> Signed-off-by: Depeng Shao <quic_depengs@quicinc.com> Signed-off-by: Abhijit Trivedi <quic_abhijitt@quicinc.com>
This commit is contained in:
@@ -170,7 +170,12 @@ static int cam_sensor_i3c_driver_probe(struct i3c_device *client)
|
||||
uint32_t index;
|
||||
struct device *dev;
|
||||
|
||||
dev = i3cdev_to_dev(client);
|
||||
if (!client) {
|
||||
CAM_ERR(CAM_CSIPHY, "Invalid input args");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
dev = &client->dev;
|
||||
|
||||
CAM_DBG(CAM_SENSOR, "Probe for I3C Slave %s", dev_name(dev));
|
||||
|
||||
|
Reference in New Issue
Block a user