26 Feb
2016
26 Feb
'16
3:12 a.m.
On Tue, Feb 23, 2016 at 09:50:20AM +0100, Carlo Caione wrote:
From: Carlo Caione carlo@endlessm.com
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.
So how was the original code tested then...?