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

Commit ebd05684 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: mbhc: Add stub definition for mbhc deinit"

parents c2bf85ad e3ec3dfc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -476,6 +476,7 @@ int wcd_mbhc_init(struct wcd_mbhc *mbhc, struct snd_soc_codec *codec,
		      bool impedance_det_en);
int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl,
			   uint32_t *zr);
void wcd_mbhc_deinit(struct wcd_mbhc *mbhc);
#else
static inline void wcd_mbhc_stop(struct wcd_mbhc *mbhc)
{
@@ -503,6 +504,9 @@ static inline int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc,
	*zr = 0;
	return -EINVAL;
}
static inline void wcd_mbhc_deinit(struct wcd_mbhc *mbhc)
{
}
#endif
void wcd_mbhc_deinit(struct wcd_mbhc *mbhc);

#endif /* __WCD_MBHC_V2_H__ */