diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-06-30 16:27:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-30 16:55:29 +0100 |
commit | c93723ada378a63929b3135b4f30483383e88e05 (patch) | |
tree | 53f0909fb045fc34f2b9e8f3583561a5310b95df /sound | |
parent | cb7d60ab98cfe12fdd6052142176d42682f78540 (diff) | |
download | linux-stable-c93723ada378a63929b3135b4f30483383e88e05.tar.gz linux-stable-c93723ada378a63929b3135b4f30483383e88e05.tar.bz2 linux-stable-c93723ada378a63929b3135b4f30483383e88e05.zip |
ASoC: codecs: wcd934x: drop inline keywords
The compiler is generally better at deciding what functions should be
inlined than driver authors are.
Drop the bogus inline keyword from two functions that were neither very
small or used in a single place.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230630142717.5314-6-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wcd934x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/wcd934x.c b/sound/soc/codecs/wcd934x.c index 9d724b5710f7..a17cd75b969b 100644 --- a/sound/soc/codecs/wcd934x.c +++ b/sound/soc/codecs/wcd934x.c @@ -2642,7 +2642,7 @@ static int wcd934x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component *compon return rc; } -static inline void wcd934x_mbhc_get_result_params(struct wcd934x_codec *wcd934x, +static void wcd934x_mbhc_get_result_params(struct wcd934x_codec *wcd934x, s16 *d1_a, u16 noff, int32_t *zdet) { @@ -2740,8 +2740,8 @@ z_right: *zr = zdet; } -static inline void wcd934x_wcd_mbhc_qfuse_cal(struct snd_soc_component *component, - int32_t *z_val, int flag_l_r) +static void wcd934x_wcd_mbhc_qfuse_cal(struct snd_soc_component *component, + int32_t *z_val, int flag_l_r) { s16 q1; int q1_cal; |