commit | d2f916aaccaf7b3bc27df2fd6cfc00f6cda2f78d | [log] [tgz] |
---|---|---|
author | Jon Medhurst (Tixy) <tixy@linaro.org> | Mon Feb 01 15:54:37 2016 +0000 |
committer | Mark Brown <broonie@kernel.org> | Tue Feb 02 19:20:18 2016 +0000 |
tree | e9de2a946633315006d670a0393368641efa3cce | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d [diff] |
ASoC: dwc: Ensure i2s_reg_comp{1,2} is always initialised In the case that the driver is configured from device-tree i2s_reg_comp1 and i2s_reg_comp2 aren't initialised, breaking the driver. Fix this by unconditionally setting these values before checking for quirks. Fixes: a242cac1d3aa ("ASoC: dwc: add quirk to override COMP_PARAM_1 register") Signed-off-by: Jon Medhurst <tixy@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>