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

Commit 110788f7 authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: wcd9xxx: typecast pointer to right type



Typecast pointer to right pointer type to avoid compilation
warning.

Change-Id: Iee1184905ecfce62c478bb5d5567c0acf7d4706d
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent c72397bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -500,7 +500,7 @@ void *wcd9xxx_mbhc_cal_btn_det_mp(
			    const struct wcd9xxx_mbhc_btn_detect_cfg *btn_det,
			    const enum wcd9xxx_mbhc_btn_det_mem mem)
{
	void *ret = &btn_det->_v_btn_low;
	void *ret = (void *)&btn_det->_v_btn_low;

	switch (mem) {
	case MBHC_BTN_DET_GAIN: