]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: put radio power off and on into correct state every time.
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 18 Jul 2014 22:00:54 +0000 (23:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 23:11:28 +0000 (16:11 -0700)
commit23ca58e4108d0c3f35440637f098ab7445885b33
tree05bb2d83e2b8cbac1f09acd6680116764647ae8a
parent0832df489267cc787d8ba6a706430f5c3bae80a0
staging: vt6656: put radio power off and on into correct state every time.

When radio is off bit GPIO3_INTMD should be on and off when radio is on.

Add these to the tail of vnt_radio_power_off and vnt_radio_power_on
and remove variable bHWRadioOff.

In device_init_registers just check GPIO3_DATA are in correct state and
always power on.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c
drivers/staging/vt6656/device.h
drivers/staging/vt6656/main_usb.c