ASoC:do not initialise statics to 0.
Subsystems (3)
PATCH 1/1 ASoC:do not initialise statics to 0.
do not initialise statics to 0.
Signed-off-by Xin Gao <[email protected]>
--- sound/soc/intel/boards/cht_bsw_rt5645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/boards/cht_bsw_rt5645.c +1 -1
@@ -50,7 +50,7 @@ struct cht_mc_private {#define CHT_RT5645_SSP0_AIF2 BIT(18)#define CHT_RT5645_PMC_PLT_CLK_0 BIT(19) -static unsigned long cht_rt5645_quirk =0 ; +static unsigned long cht_rt5645_quirk;static void log_quirks (struct device *dev) {
Signature · 1 line
2.30.2
Cezary Rojewski
maintainerQuoted 1 line · Xin Gao
do not initialise statics to 0.
Hello,
Please do not repeat the title in the commit message - brings no value. Also, the spelling isn't correct - s/initialise/initialize/.
I'd suggest to adhere to title formatting common to given subsystem. git log should help you understand which scopes should be part of commit title for changes targeting Intel code in ASoC domain. Last but not least, title is not a sentence - drop the full stop at the end of it.
Regards,
Czarek
Quoted 18 lines
Signed-off-by Xin Gao <[email protected]>--- sound/soc/intel/boards/cht_bsw_rt5645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/intel/boards/cht_bsw_rt5645.c +1
-1@@ -50,7 +50,7 @@ struct cht_mc_private {#define CHT_RT5645_SSP0_AIF2 BIT(18)#define CHT_RT5645_PMC_PLT_CLK_0 BIT(19) -static unsigned long cht_rt5645_quirk =0 ; +static unsigned long cht_rt5645_quirk;static void log_quirks (struct device *dev) {