summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_ca0132.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_ca0132.c')
-rw-r--r--sound/pci/hda/patch_ca0132.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index b1e099a3369c..fe07664b44b6 100644
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -1598,7 +1598,7 @@ static unsigned int dsp_chip_to_dsp_addx(unsigned int chip_addx,
return Y_OFF(chip_addx);
}
- return (unsigned int)INVALID_CHIP_ADDRESS;
+ return INVALID_CHIP_ADDRESS;
}
/*
@@ -4540,7 +4540,7 @@ static int ca0132_init(struct hda_codec *codec)
int i;
spec->dsp_state = DSP_DOWNLOAD_INIT;
- spec->curr_chip_addx = (unsigned int)INVALID_CHIP_ADDRESS;
+ spec->curr_chip_addx = INVALID_CHIP_ADDRESS;
snd_hda_power_up(codec);