[media] au0828: Make the s_reg and g_reg advanced debug calls work against the bridge
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 7 Aug 2012 01:46:54 +0000 (22:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 9 Aug 2012 23:32:00 +0000 (20:32 -0300)
commit364d2db2791aa3a808d2590ef62c53b4a83c25dd
treee58046c05e10a719af2cabe47952b3a7f4f4110d
parent43f2cccfc81c0af719a425ea816ce8003bb09748
[media] au0828: Make the s_reg and g_reg advanced debug calls work against the bridge

The g_reg and s_reg calls worked properly if acting on subdev registers
(such as the au8522), but didn't work against the au0828 itself.  Copy
the logic over from em28xx.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/au0828/au0828-video.c