[PATCH for 4.9 36/39] ASoC: wm_adsp: Return an error on write to a disabled volatile control

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Charles Keepax [ Upstream commit 67430a39ca7a6af28aade5acb92d43ee257c1014 ] Volatile controls should only be accessed when the firmware is active, currently however writes to these controls will succeed, but the data will be lost, if the firmware is

[PATCH for 4.9 36/39] ASoC: wm_adsp: Return an error on write to a disabled volatile control

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Charles Keepax [ Upstream commit 67430a39ca7a6af28aade5acb92d43ee257c1014 ] Volatile controls should only be accessed when the firmware is active, currently however writes to these controls will succeed, but the data will be lost, if the firmware is powered down. Update this behaviour