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

Commit 5ef1e54e authored by Kunlei Zhang's avatar Kunlei Zhang Committed by Gerrit - the friendly Code Review server
Browse files

asoc: wcd937x: Fix compile error in wcd937x codec driver



Update function return value to avoid compile error

Change-Id: Ia463ea8bb3c87ac6fb9f5959be0f5a6fa461667d
Signed-off-by: default avatarKunlei Zhang <kunleiz@codeaurora.org>
parent b8e5bd2f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
 */
#ifndef __WCD937X_MBHC_H__
#define __WCD937X_MBHC_H__
@@ -52,7 +52,6 @@ static inline int wcd937x_mbhc_post_ssr_init(struct wcd937x_mbhc *mbhc,
static inline void wcd937x_mbhc_ssr_down(struct wcd937x_mbhc *mbhc,
					   struct snd_soc_component *component)
{
	return 0;
}
static inline int wcd937x_mbhc_get_impedance(struct wcd937x_mbhc *wcd937x_mbhc,
					   uint32_t *zl, uint32_t *zr)