diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-25 11:16:16 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-26 10:45:27 -0500 |
commit | 6dfb5aff7d922ba7ce2f4155c55a921c7ee45e7d (patch) | |
tree | 6b3ace99ee7498a15867db032ad9223683039bee /sound/pci/ice1712/quartet.c | |
parent | 6f002b02166cc037025c0d1600a0e638a82145ac (diff) |
ALSA: ice17xx: Use standard printk helpers
Convert with dev_err() and co from snd_printk(), etc.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/quartet.c')
-rw-r--r-- | sound/pci/ice1712/quartet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/ice1712/quartet.c b/sound/pci/ice1712/quartet.c index 71c6003ef338..2c2df4b74e01 100644 --- a/sound/pci/ice1712/quartet.c +++ b/sound/pci/ice1712/quartet.c | |||
@@ -280,7 +280,7 @@ static void qtet_akm_write(struct snd_akm4xxx *ak, int chip, | |||
280 | 280 | ||
281 | if (snd_BUG_ON(chip < 0 || chip >= 4)) | 281 | if (snd_BUG_ON(chip < 0 || chip >= 4)) |
282 | return; | 282 | return; |
283 | /*printk(KERN_DEBUG "Writing to AK4620: chip=%d, addr=0x%x, | 283 | /*dev_dbg(ice->card->dev, "Writing to AK4620: chip=%d, addr=0x%x, |
284 | data=0x%x\n", chip, addr, data);*/ | 284 | data=0x%x\n", chip, addr, data);*/ |
285 | orig_dir = ice->gpio.get_dir(ice); | 285 | orig_dir = ice->gpio.get_dir(ice); |
286 | ice->gpio.set_dir(ice, orig_dir | GPIO_SPI_ALL); | 286 | ice->gpio.set_dir(ice, orig_dir | GPIO_SPI_ALL); |
@@ -898,7 +898,7 @@ static void qtet_set_rate(struct snd_ice1712 *ice, unsigned int rate) | |||
898 | new = (get_cpld(ice) & ~CPLD_CKS_MASK) | get_cks_val(rate); | 898 | new = (get_cpld(ice) & ~CPLD_CKS_MASK) | get_cks_val(rate); |
899 | /* switch to internal clock, drop CPLD_SYNC_SEL */ | 899 | /* switch to internal clock, drop CPLD_SYNC_SEL */ |
900 | new &= ~CPLD_SYNC_SEL; | 900 | new &= ~CPLD_SYNC_SEL; |
901 | /* printk(KERN_DEBUG "QT - set_rate: old %x, new %x\n", | 901 | /* dev_dbg(ice->card->dev, "QT - set_rate: old %x, new %x\n", |
902 | get_cpld(ice), new); */ | 902 | get_cpld(ice), new); */ |
903 | set_cpld(ice, new); | 903 | set_cpld(ice, new); |
904 | } | 904 | } |
@@ -978,7 +978,7 @@ static void qtet_ak4113_change(struct ak4113 *ak4113, unsigned char c0, | |||
978 | c1) { | 978 | c1) { |
979 | /* only for SPDIF master mode, rate was changed */ | 979 | /* only for SPDIF master mode, rate was changed */ |
980 | rate = snd_ak4113_external_rate(ak4113); | 980 | rate = snd_ak4113_external_rate(ak4113); |
981 | /* printk(KERN_DEBUG "ak4113 - input rate changed to %d\n", | 981 | /* dev_dbg(ice->card->dev, "ak4113 - input rate changed to %d\n", |
982 | rate); */ | 982 | rate); */ |
983 | qtet_akm_set_rate_val(ice->akm, rate); | 983 | qtet_akm_set_rate_val(ice->akm, rate); |
984 | } | 984 | } |