My custom camera driver was migration LT32.4.3 to LT32.6.1.
When registering the camera driver, registration failed due to the following error message.
I don’t know why the driver that has been confirmed to work in LT32.4.3 on the same hardware does not work.
[ 103.749016] imx415 2-001a: ERROR: 6 controls registered with framework but missing implementation
[ 103.749230] imx415 2-001a: Error -22 in control ops setup
[ 103.749392] imx415 2-001a: Failed to init ctrls imx415
[ 103.749494] imx415 2-001a: tegra camera subdev registration failed
[ 103.749754] imx415: probe of 2-001a failed with error -22
Comparing imx274 and custom driver, I did not find any particular difference.
Looking at the dmesg log, it seems that an error occurred during the execution of the tegracam_device_register function.
If this is the case, please let me know which settings should be reviewed.
[ 702.896360] imx415 2-001a: [IMX415]: probing v4l2 sensor at addr 0x1a.
[ 702.903649] imx415 2-001a: tegracam sensor driver:imx415_v2.0.6
[ 702.925055] imx415 2-001a: ERROR: 6 controls registered with framework but missing implementation
[ 702.925272] imx415 2-001a: Error -22 in control ops setup
[ 702.925368] imx415 2-001a: Failed to init ctrls imx415
[ 702.925458] imx415 2-001a: tegra camera subdev registration failed
[ 702.932115] imx415: probe of 2-001a failed with error -22
Have a check the error message from …/kernel/nvidia/drivers/media/platform/tegra/camera/tegracam_ctrls.c to figure out missing which CID implementation in your driver.
As you recommend, i checked tegracam_ctrls.c.
Commented out the custom sensor command code. it works good !
It helped a lot in finding the cause. thank you!
I want to added custom camera sensor control.
please, let me know howt to CID implementation.