On Thu, Jun 06, 2019 at 12:40:02PM +0100, Srinivas Kandagatla wrote:Sure I will add break.
+ default:
+ pr_err("%s: event = %d not expected\n", __func__, event);
+ }
dev_err() please (and a break; as well, it isn't strictly needed but
stops people having to check that it isn't needed).
Yes, Switch controls should work, I will try that.+ SOC_SINGLE_EXT("IIR1 Enable Band1", IIR1, BAND1, 1, 0,
+ msm8x16_wcd_get_iir_enable_audio_mixer,
+ msm8x16_wcd_put_iir_enable_audio_mixer),
The indentation here is *really* messed up. What are these controls,
with names like "Enable" they sound like on/off controls in which case
they should be standard Switch controls.