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

Commit 9870662b authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: wcd: remove deprecated input prop



Remove code to set INPUT_PROP_NO_DUMMY_RELEASE bit in
MBHC input device property, as this is no longer needed.
This code was added as a workaround to ensure that keys
held during resume were not artificially released by the
input framework. This issue is already resolved by -
commit 768d9aa5
("Input: don't call input_dev_release_keys() in resume")

Change-Id: I02b78a390d504b58b0f693248061e6684c1d0445
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent d64e03b0
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2455,9 +2455,6 @@ int wcd_mbhc_init(struct wcd_mbhc *mbhc, struct snd_soc_codec *codec,
			return ret;
		}

		set_bit(INPUT_PROP_NO_DUMMY_RELEASE,
			mbhc->button_jack.jack->input_dev->propbit);

		INIT_DELAYED_WORK(&mbhc->mbhc_firmware_dwork,
				  wcd_mbhc_fw_read);
		INIT_DELAYED_WORK(&mbhc->mbhc_btn_dwork, wcd_btn_lpress_fn);
+0 −3
Original line number Diff line number Diff line
@@ -5536,9 +5536,6 @@ int wcd9xxx_mbhc_init(struct wcd9xxx_mbhc *mbhc, struct wcd9xxx_resmgr *resmgr,
			return ret;
		}

		set_bit(INPUT_PROP_NO_DUMMY_RELEASE,
			mbhc->button_jack.jack->input_dev->propbit);

		INIT_DELAYED_WORK(&mbhc->mbhc_firmware_dwork,
				  wcd9xxx_mbhc_fw_read);
		INIT_DELAYED_WORK(&mbhc->mbhc_btn_dwork, wcd9xxx_btn_lpress_fn);