commit | 67430a39ca7a6af28aade5acb92d43ee257c1014 | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Mon Mar 06 16:54:33 2017 +0000 |
committer | Mark Brown <broonie@kernel.org> | Tue Mar 07 13:07:58 2017 +0100 |
tree | f01f19d431c4ecb390f5d10c33c01a722b422caf | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 [diff] |
ASoC: wm_adsp: Return an error on write to a disabled volatile control 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 such that an error is returned the same as it is for reads. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>