aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/ca0132_regs.h2
-rw-r--r--sound/pci/hda/patch_ca0132.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/hda/ca0132_regs.h b/sound/pci/hda/ca0132_regs.h
index 831ca9c47992..07e760937d3c 100644
--- a/sound/pci/hda/ca0132_regs.h
+++ b/sound/pci/hda/ca0132_regs.h
@@ -337,7 +337,7 @@
337#define DSPDMAC_ACTIVE_WFR_MASK 0xFFF000 337#define DSPDMAC_ACTIVE_WFR_MASK 0xFFF000
338 338
339#define DSP_AUX_MEM_BASE 0xE000 339#define DSP_AUX_MEM_BASE 0xE000
340#define INVALID_CHIP_ADDRESS (~0UL) 340#define INVALID_CHIP_ADDRESS (~0U)
341 341
342#define X_SIZE (XRAM_XRAM_CHANNEL_COUNT * XRAM_XRAM_CHAN_INCR) 342#define X_SIZE (XRAM_XRAM_CHANNEL_COUNT * XRAM_XRAM_CHAN_INCR)
343#define Y_SIZE (YRAM_YRAM_CHANNEL_COUNT * YRAM_YRAM_CHAN_INCR) 343#define Y_SIZE (YRAM_YRAM_CHANNEL_COUNT * YRAM_YRAM_CHAN_INCR)
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,
1598 return Y_OFF(chip_addx); 1598 return Y_OFF(chip_addx);
1599 } 1599 }
1600 1600
1601 return (unsigned int)INVALID_CHIP_ADDRESS; 1601 return INVALID_CHIP_ADDRESS;
1602} 1602}
1603 1603
1604/* 1604/*
@@ -4540,7 +4540,7 @@ static int ca0132_init(struct hda_codec *codec)
4540 int i; 4540 int i;
4541 4541
4542 spec->dsp_state = DSP_DOWNLOAD_INIT; 4542 spec->dsp_state = DSP_DOWNLOAD_INIT;
4543 spec->curr_chip_addx = (unsigned int)INVALID_CHIP_ADDRESS; 4543 spec->curr_chip_addx = INVALID_CHIP_ADDRESS;
4544 4544
4545 snd_hda_power_up(codec); 4545 snd_hda_power_up(codec);
4546 4546