aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/ti/omap-twl4030.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/ti/omap-twl4030.c')
-rw-r--r--sound/soc/ti/omap-twl4030.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/ti/omap-twl4030.c b/sound/soc/ti/omap-twl4030.c
index 950eec44503b..a3ad1a2df1c7 100644
--- a/sound/soc/ti/omap-twl4030.c
+++ b/sound/soc/ti/omap-twl4030.c
@@ -38,7 +38,7 @@ struct omap_twl4030 {
static int omap_twl4030_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{
- struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+ struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
unsigned int fmt;
switch (params_channels(params)) {