Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccf9b451 authored by Venkateshwarlu Domakonda's avatar Venkateshwarlu Domakonda
Browse files

radio: iris: Fix the issue with hard mute IOCTL



- Hard mute IOCTL is setting the soft mute as well irrespective
  whether it is required or not.
- Setting only hard mute.

Change-Id: Ifb2c91f4bb1f1c3418c65c57fccd65c7656170c0
CRs-Fixed: 656715
Signed-off-by: default avatarVenkateshwarlu Domakonda <vdomak@codeaurora.org>
parent 5dd6baeb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3720,7 +3720,6 @@ static int iris_vidioc_s_ctrl(struct file *file, void *priv,
		}
		saved_val = radio->mute_mode.hard_mute;
		radio->mute_mode.hard_mute = ctrl->value;
		radio->mute_mode.soft_mute = IOC_SFT_MUTE;
		retval = hci_set_fm_mute_mode(
				&radio->mute_mode,
				radio->fm_hdev);