OSDN Git Service

[media] media: am437x-vpfe: match the OF node/i2c addr instead of name
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sat, 7 Mar 2015 15:30:49 +0000 (12:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:10:40 +0000 (18:10 -0300)
commitd37232390fd4d1f76061879390b0447287730e6b
treea472f3689a67ea9e72ddeacb2ecb413791f326c6
parent4eaa3a6cc4c577103d678492ec50979b3aa360a4
[media] media: am437x-vpfe: match the OF node/i2c addr instead of name

Instead of matching the subdevs with their name, match
it with OF node/ i2c address and adapter number.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/am437x/am437x-vpfe.c
drivers/media/platform/am437x/am437x-vpfe.h