[media] tvp5150: create the expected number of pads
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 27 Jan 2016 14:08:13 +0000 (12:08 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 09:25:05 +0000 (07:25 -0200)
commit55606310e77f5099d01b59ea9a25401f521c5713
treeab3fc850bc44875a3938dd95887efad179494f15
parente4001e955bec5566848624635cfb2d353ebac507
[media] tvp5150: create the expected number of pads

The tvp5150 doesn't have just one pad. It has 3 ones:
- IF input
- Video output
- VBI output

Fix it and use the macros for the pad indexes.

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tvp5150.c