board-8064-bt: Release the BT resources only when BT is in On state

During BT Turn Off operation vote off for the clock and voltage
regulators only if the previous BT Turn On operation was successful or
do nothing and exit.

Device entered into download mode as previous BT Turn On failed and
in the subsequent BT Turn Off operation we released the clock that
we did not acquire.

During BT bring-up sequence do not return error code if the I2C Read
operation fails.

Change-Id: Ic519ff13bd2f90dcdf2f1dbb5aa1fe18ae2d4010
CRs-Fixed: 406385
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
1 file changed