From 5ef1e54e9517a93097b5e3ec600367f3b1e0d174 Mon Sep 17 00:00:00 2001 From: Kunlei Zhang Date: Wed, 19 Feb 2020 13:55:07 +0800 Subject: [PATCH] asoc: wcd937x: Fix compile error in wcd937x codec driver Update function return value to avoid compile error Change-Id: Ia463ea8bb3c87ac6fb9f5959be0f5a6fa461667d Signed-off-by: Kunlei Zhang --- asoc/codecs/wcd937x/wcd937x-mbhc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/asoc/codecs/wcd937x/wcd937x-mbhc.h b/asoc/codecs/wcd937x/wcd937x-mbhc.h index 43d16618956f..2e6bbe88f6b0 100644 --- a/asoc/codecs/wcd937x/wcd937x-mbhc.h +++ b/asoc/codecs/wcd937x/wcd937x-mbhc.h @@ -1,5 +1,5 @@ /* 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)