aa405334c81ab65091944e19ef3dcf4163232b42
[openwrt/staging/mkresin.git] /
1 From 7d66ca1081c0626f03aa8f419ca253e88a10018e Mon Sep 17 00:00:00 2001
2 From: Viorel Suman <viorel.suman@nxp.com>
3 Date: Mon, 17 Sep 2018 09:31:24 +0300
4 Subject: [PATCH] MLK-19573-1: ASoC: fsl: dsd: make fsl_get_pins_state inline
5
6 Make fsl_get_pins_state function inline.
7
8 Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
9 (cherry picked from commit badcb97ebd8c0aae89f76e979bcc801be35c7400)
10 ---
11 sound/soc/fsl/fsl_dsd.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/sound/soc/fsl/fsl_dsd.h
15 +++ b/sound/soc/fsl/fsl_dsd.h
16 @@ -29,7 +29,7 @@ static bool fsl_is_dsd(struct snd_pcm_hw
17 }
18 }
19
20 -static struct pinctrl_state *fsl_get_pins_state(struct pinctrl *pinctrl,
21 +static inline struct pinctrl_state *fsl_get_pins_state(struct pinctrl *pinctrl,
22 struct snd_pcm_hw_params *params, u32 bclk)
23 {
24 struct pinctrl_state *state = 0;