[media] adv7343: use control framework
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 12 Dec 2010 11:19:16 +0000 (08:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:49 +0000 (20:31 -0300)
commitceed52d67e1cf7866fa96514525c615554a0e44e
tree4e3324dbb011f531c393cd1a172009970f8120e7
parenta75b9be1c2fb52dee765d35f29031dd788d522eb
[media] adv7343: use control framework

Also fixed a memory leak in the probe function if an error occurred.
The gain control range was also fixed (a proper range from -64 to 64).

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/adv7343.c
drivers/media/video/adv7343_regs.h