commit | c8560b7c917f8738f5d80dd516930edc1d05e4e4 | [log] [tgz] |
---|---|---|
author | Carlo Caione <carlo@endlessm.com> | Tue Feb 23 09:50:20 2016 +0100 |
committer | Mark Brown <broonie@kernel.org> | Fri Feb 26 11:11:47 2016 +0900 |
tree | a7de5e31b7d139cc7b924dd4d751ddb7a579e168 | |
parent | 65b4bcb82967fd5a60694c3477e58a04a9170aea [diff] |
ASoC: cht_bsw_rt5645: Fix writing to string literal We cannot use strcpy() to write to a const char * location. This is causing a 'BUG: unable to handle kernel paging request' error at boot when using the cht-bsw-rt5645 driver. With this patch we also fix a wrong indexing in the driver where the codec_name of the wrong dai_link is being overwritten. Signed-off-by: Carlo Caione <carlo@endlessm.com> Signed-off-by: Mark Brown <broonie@kernel.org>