AnsweredAssumed Answered

ADV7180 Bridge driver - Linux

Question asked by @monica Employee on May 30, 2014
Latest reply on Jun 2, 2014 by @monica

Hi ,

I have adv7180 code and I have added some part of bridge driver to create a V4L2 node. So attached is the original code and the modified code with bridge driver.

But when i do insert mod with this modified code I get invalid argument error as below

 

root@linaro-ubuntu-desktop:/home/agnes/ofd# sudo insmod adv7180.ko

adv7180: Failed with unreg subdev: -22

adv7180: Failed with unreg subdev: -22

root@linaro-ubuntu-desktop:/home/agnes/ofd# sudo dmesg | tail

adv7180: Failed with unreg subdev: -22

adv7180: probe of 2-0020 failed with error -22

adv7180 2-0021: chip found @ 0x42 (imx-i2c)

bfbabc00 624  bytes memory allocated

Entering Subdev init success

Subdev init success

subdev init  success

Failed to subdev register v4l2

adv7180: Failed with unreg subdev: -22

adv7180: probe of 2-0021 failed with error -22

 

Can You please help me in solving it

 

Regards

Monica

Outcomes