commit | a823a17981a73faa115bc0f7eda0190763075e2c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Nov 22 18:11:08 2016 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Nov 22 17:22:38 2016 +0000 |
tree | 9df07420878e902585812a728984db12535a3345 | |
parent | 1001354ca34179f3db924eb66672442a173147dc [diff] |
ASoC: cht_bsw_rt5645: Fix leftover kmalloc cht_bsw_rt5645 driver allocates the own codec_id string but doesn't release it. For simplicity, put the string in cht_mc_private; then the string is allocated in a shot and released altogether. Fixes: c8560b7c917f ("ASoC: cht_bsw_rt5645: Fix writing to string literal") Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>