git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f31e08e
)
ASoC: imx-audmux: remove null check of audmux_base in audmux_read_file
author
Richard Zhao
<richard.zhao@freescale.com>
Tue, 18 Sep 2012 08:38:30 +0000
(16:38 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 19 Sep 2012 02:53:15 +0000
(22:53 -0400)
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>
No differences found