Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: oxygen: use true,false for bool variables

Fix the following coccicheck warning:

sound/pci/oxygen/xonar_pcm179x.c:463:1-17: WARNING: Assignment of 0/1 to
bool variable
sound/pci/oxygen/xonar_pcm179x.c:505:1-17: WARNING: Assignment of 0/1 to
bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200422071646.48436-1-yanaijie@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Jason Yan and committed by
Takashi Iwai
14ff6c55 8137d276

+2 -2
+2 -2
sound/pci/oxygen/xonar_pcm179x.c
··· 460 460 461 461 data->generic.anti_pop_delay = 100; 462 462 data->h6 = chip->model.dac_channels_mixer > 2; 463 - data->has_cs2000 = 1; 463 + data->has_cs2000 = true; 464 464 data->cs2000_regs[CS2000_FUN_CFG_1] = CS2000_REF_CLK_DIV_1; 465 465 data->broken_i2c = true; 466 466 ··· 502 502 xonar_init_ext_power(chip); 503 503 504 504 data->generic.anti_pop_delay = 100; 505 - data->has_cs2000 = 1; 505 + data->has_cs2000 = true; 506 506 data->cs2000_regs[CS2000_FUN_CFG_1] = CS2000_REF_CLK_DIV_1; 507 507 508 508 oxygen_write16(chip, OXYGEN_I2S_A_FORMAT,