commit | f180ebae1ac05805acdb808eb92e63ddbd014934 | [log] [tgz] |
---|---|---|
author | Josh Wu <josh.wu@atmel.com> | Sun Mar 01 22:52:38 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Apr 02 18:34:42 2015 -0300 |
tree | 2816a1924464c8421cf87ba68a5aa49a0de3ca32 | |
parent | 0b9508aa030f8119c20fcf64b4b36bc792b59d41 [diff] |
[media] media: ov2640: add async probe function In async probe, there is a case that ov2640 is probed before the host device which provided 'mclk'. To support this async probe, we will get 'mclk' at first in the probe(), if failed it will return -EPROBE_DEFER. That will let ov2640 wait for the host device probed. Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>