diff options
author | Josh Wu <josh.wu@atmel.com> | 2014-07-25 06:13:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-30 18:35:06 -0400 |
commit | 3900623bfaffde4eeb93ca0ba0475598a1b0cef5 (patch) | |
tree | 88dcae1db1cb0921a3bcf3812f5f0eef2e6d8295 /drivers | |
parent | 47c71bd61b772cd72159dff4aae43734257a485a (diff) |
[media] media: atmel-isi: add v4l2 async probe support
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/soc_camera/atmel-isi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/platform/soc_camera/atmel-isi.c b/drivers/media/platform/soc_camera/atmel-isi.c index 38c723aca438..c0d46128cad9 100644 --- a/drivers/media/platform/soc_camera/atmel-isi.c +++ b/drivers/media/platform/soc_camera/atmel-isi.c | |||
@@ -980,6 +980,11 @@ static int atmel_isi_probe(struct platform_device *pdev) | |||
980 | soc_host->v4l2_dev.dev = &pdev->dev; | 980 | soc_host->v4l2_dev.dev = &pdev->dev; |
981 | soc_host->nr = pdev->id; | 981 | soc_host->nr = pdev->id; |
982 | 982 | ||
983 | if (isi->pdata.asd_sizes) { | ||
984 | soc_host->asd = isi->pdata.asd; | ||
985 | soc_host->asd_sizes = isi->pdata.asd_sizes; | ||
986 | } | ||
987 | |||
983 | ret = soc_camera_host_register(soc_host); | 988 | ret = soc_camera_host_register(soc_host); |
984 | if (ret) { | 989 | if (ret) { |
985 | dev_err(&pdev->dev, "Unable to register soc camera host\n"); | 990 | dev_err(&pdev->dev, "Unable to register soc camera host\n"); |