diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-09-18 10:38:30 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-19 04:53:15 +0200 |
commit | f3a50c95e275c2e553e2a6dcc646eef3daf98a3e (patch) | |
tree | 02c205f070762ee363ac856409a8f623c7c5ecb0 /sound/soc/fsl/mpc5200_psc_i2s.c | |
parent | ASoC: imx-pcm-dma: open function failed when snd_dmaengine_pcm_open fail (diff) | |
download | linux-f3a50c95e275c2e553e2a6dcc646eef3daf98a3e.tar.xz linux-f3a50c95e275c2e553e2a6dcc646eef3daf98a3e.zip |
ASoC: imx-audmux: remove null check of audmux_base in audmux_read_file
When audmux_read_file is called, it means the driver is already
initialised successfully, so we don't need to check audmux_base.
It also fix smatch warning:
sound/soc/fsl/imx-audmux.c:78 audmux_read_file() warn: possible memory leak of 'buf'
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/mpc5200_psc_i2s.c')
0 files changed, 0 insertions, 0 deletions