aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/cthw20k2.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-08-26 09:31:43 -0400
committerTakashi Iwai <tiwai@suse.de>2014-08-26 09:41:07 -0400
commit62afa853cb91288e85a8da6351bd29d798402308 (patch)
tree1c561ea2e6821c15513162382c7524370f053605 /sound/pci/ctxfi/cthw20k2.c
parente720b82027b99482ea5d1001a69bdf2200e86b79 (diff)
ALSA: ctxfi: fix broken user-visible string
as broken user-visible strings breaks the ability to grep for them , so this patch fixes the broken user-visible strings Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/cthw20k2.c')
-rw-r--r--sound/pci/ctxfi/cthw20k2.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sound/pci/ctxfi/cthw20k2.c b/sound/pci/ctxfi/cthw20k2.c
index 8a72fac929ca..df2d8c5eb926 100644
--- a/sound/pci/ctxfi/cthw20k2.c
+++ b/sound/pci/ctxfi/cthw20k2.c
@@ -1246,8 +1246,7 @@ static int hw_trn_init(struct hw *hw, const struct trn_conf *info)
1246 1246
1247 /* Set up device page table */ 1247 /* Set up device page table */
1248 if ((~0UL) == info->vm_pgt_phys) { 1248 if ((~0UL) == info->vm_pgt_phys) {
1249 pr_alert("ctxfi: " 1249 pr_alert("ctxfi: Wrong device page table page address!!!\n");
1250 "Wrong device page table page address!!!\n");
1251 return -1; 1250 return -1;
1252 } 1251 }
1253 1252
@@ -1890,8 +1889,8 @@ static int hw_adc_init(struct hw *hw, const struct adc_conf *info)
1890 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_MMC, 0x0A), 1889 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_MMC, 0x0A),
1891 MAKE_WM8775_DATA(0x0A)); 1890 MAKE_WM8775_DATA(0x0A));
1892 } else { 1891 } else {
1893 pr_alert("ctxfi: Invalid master sampling " 1892 pr_alert("ctxfi: Invalid master sampling rate (msr %d)!!!\n",
1894 "rate (msr %d)!!!\n", info->msr); 1893 info->msr);
1895 err = -EINVAL; 1894 err = -EINVAL;
1896 goto error; 1895 goto error;
1897 } 1896 }
@@ -2034,8 +2033,8 @@ static int hw_card_start(struct hw *hw)
2034 /* Set DMA transfer mask */ 2033 /* Set DMA transfer mask */
2035 if (pci_set_dma_mask(pci, CT_XFI_DMA_MASK) < 0 || 2034 if (pci_set_dma_mask(pci, CT_XFI_DMA_MASK) < 0 ||
2036 pci_set_consistent_dma_mask(pci, CT_XFI_DMA_MASK) < 0) { 2035 pci_set_consistent_dma_mask(pci, CT_XFI_DMA_MASK) < 0) {
2037 pr_err("ctxfi: architecture does not support PCI " 2036 pr_err("ctxfi: architecture does not support PCI busmaster DMA with mask 0x%llx\n",
2038 "busmaster DMA with mask 0x%llx\n", CT_XFI_DMA_MASK); 2037 CT_XFI_DMA_MASK);
2039 err = -ENXIO; 2038 err = -ENXIO;
2040 goto error1; 2039 goto error1;
2041 } 2040 }