[alsa-devel] [PATCH] ASoC: rt286: Fix the runtime error in the booting
Mark Brown
broonie at kernel.org
Fri Oct 2 12:11:41 CEST 2015
On Fri, Oct 02, 2015 at 01:30:29PM +0800, Oder Chiou wrote:
> The struct rt286_index_def was used by the cache function, so it cannot be
> declared as const.
> -static const struct reg_default rt286_index_def[] = {
> +static struct reg_default rt286_index_def[] = {
> { 0x01, 0xaaaa },
> { 0x02, 0x8aaa },
> { 0x03, 0x0002 },
This isn't obvious and seems likely to break - why is this ever being
modified and how is that safe?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151002/8bad3d11/attachment.sig>
More information about the Alsa-devel
mailing list