tree:
https://github.com/morimoto/linux fw-cleanup-2020-06-19-v2
head: a535f98aa3e435787676dcc250f4944a94a8cfee
commit: 1cd4d40eac384ef0f4e9706f9b4f13872c29f70f [30/146] ASoC: codecs: max*: merge
.digital_mute() into .mute_stream()
config: nios2-randconfig-m031-20200621 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
New smatch warnings:
sound/soc/codecs/max98088.c:1283 max98088_dai1_mute() warn: inconsistent indenting
sound/soc/codecs/max98088.c:1302 max98088_dai2_mute() warn: inconsistent indenting
Old smatch warnings:
sound/soc/codecs/max98088.c:315 m98088_eq_band() warn: inconsistent indenting
sound/soc/codecs/max98088.c:653 max98088_line_pga() warn: inconsistent indenting
sound/soc/codecs/max98088.c:1105 max98088_dai_set_sysclk() warn: inconsistent indenting
sound/soc/codecs/max98088.c:1522 max98088_put_eq_enum() warn: inconsistent indenting
sound/soc/codecs/max98088.c:1754 max98088_i2c_probe() warn: inconsistent indenting
vim +1283 sound/soc/codecs/max98088.c
1276
1277 static int max98088_dai1_mute(struct snd_soc_dai *codec_dai, int mute,
1278 int direction)
1279 {
1280 struct snd_soc_component *component = codec_dai->component;
1281 int reg;
1282
1283 if (direction != SNDRV_PCM_STREAM_PLAYBACK)
1284 return 0;
1285
1286 if (mute)
1287 reg = M98088_DAI_MUTE;
1288 else
1289 reg = 0;
1290
1291 snd_soc_component_update_bits(component, M98088_REG_2F_LVL_DAI1_PLAY,
1292 M98088_DAI_MUTE_MASK, reg);
1293 return 0;
1294 }
1295
1296 static int max98088_dai2_mute(struct snd_soc_dai *codec_dai, int mute,
1297 int direction)
1298 {
1299 struct snd_soc_component *component = codec_dai->component;
1300 int reg;
1301
1302 if (direction != SNDRV_PCM_STREAM_PLAYBACK)
1303 return 0;
1304
1305 if (mute)
1306 reg = M98088_DAI_MUTE;
1307 else
1308 reg = 0;
1309
1310 snd_soc_component_update_bits(component, M98088_REG_31_LVL_DAI2_PLAY,
1311 M98088_DAI_MUTE_MASK, reg);
1312 return 0;
1313 }
1314
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org