[media] media: au0828 Use au8522_media_pads enum for pad defines
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:28 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 11:45:43 +0000 (08:45 -0300)
commit50512333f2d7f09fc108e062278a82d2cbc6581c
tree1bcebfedff6233b3478491e07d55af4fad12176f
parent82410a98bd03d08dbe580f8d2c870c70de8e023e
[media] media: au0828 Use au8522_media_pads enum for pad defines

Change au0828-core to use au8522_media_pads enum defines
instead of hard-coding the pad values.

[mchehab@osg.samsung.com: patch rebased, as the code was
 moved to au0828-video.c. Also added AU8522_PAD_INPUT to the list
 of pad number replacements]

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-video.c