[alsa-devel] [PATCH 1/5] ASoC: add mt6351 codec driver

KaiChieh Chuang kaichieh.chuang at mediatek.com
Sun Apr 15 17:42:03 PDT 2018


>    sound/soc/codecs/mt6351.c: In function 'mt_hp_event':
> >> sound/soc/codecs/mt6351.c:912:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
>       else if (priv->hp_en_counter < 0)
>            ^~
>    sound/soc/codecs/mt6351.c:918:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
>        hp_zcd_disable(codec);
>        ^~~~~~~~~~~~~~
I have sent v2 patch set to fix this, sorry for the inconvenience.




More information about the Linux-mediatek mailing list