ixp4xx: fix Avila SoC audio driver compilation
authorJo-Philipp Wich <jo@mein.io>
Wed, 22 Jun 2016 22:14:34 +0000 (00:14 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Wed, 22 Jun 2016 22:14:34 +0000 (00:14 +0200)
commit441a9c879ba6562ea9f431cf33bbb0c0400d5fd0
tree061af7bf1930065b365899d6f61ee0d91f88c3b2
parent5ce87f5de3cdbd58ddb7de44717cebb7f371d277
ixp4xx: fix Avila SoC audio driver compilation

Upstream dropped the `dapm` member of `struct snd_soc_component`, requiring
users to access it using `snd_soc_codec_get_dapm()` instead so change the
driver code to do just that.

Fixes the following build error spotted by the buildbots:

      CC [M]  sound/soc/gw-avila/gw-avila.o
    sound/soc/gw-avila/gw-avila.c: In function 'avila_aic3x_init':
    sound/soc/gw-avila/gw-avila.c:104:44: error: 'struct snd_soc_codec' has no member named 'dapm'

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
target/linux/ixp4xx/patches-4.4/175-avila_hss_audio_support.patch