[media] wl12xx: g_volatile_ctrl fix: wrong field set
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 5 May 2011 07:37:28 +0000 (04:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 25 May 2011 10:51:48 +0000 (07:51 -0300)
commitc6ae804a65649d5919d232d65dc6a08c9e5ac01b
tree0fe436c54d5db23860bc6600c701455dd84b9a27
parentc9d5d7790cd7c9457772dc51381f0e0e4e691f68
[media] wl12xx: g_volatile_ctrl fix: wrong field set

The function g_volatile_ctrl should change the current value rather than the
new value. These two drivers didn't do that, so the value is never reported
correctly.

In the future this will change since this behavior is clearly unexpected,
but for now fix these drivers first.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-wl1273.c
drivers/media/radio/wl128x/fmdrv_v4l2.c