diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-06-13 14:36:07 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-13 17:27:27 +0800 |
commit | 8994a5e1d2443511e677d62e97d7de3718b71325 (patch) | |
tree | 837cea5b2a2229e9e949985e2649e35774cf9b7c /sound/soc/pxa/mmp-pcm.c | |
parent | 85f243912b99b053ce0624c30609f5d8fd4445d2 (diff) |
ASoC: ml26124: Convert to devm_regmap_init_i2c
This fixes a leak if snd_soc_register_codec fails.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa/mmp-pcm.c')