aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctmixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ctxfi/ctmixer.c')
-rw-r--r--sound/pci/ctxfi/ctmixer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/ctxfi/ctmixer.c b/sound/pci/ctxfi/ctmixer.c
index 48fe0e39c2be..4f4a2a5dedb8 100644
--- a/sound/pci/ctxfi/ctmixer.c
+++ b/sound/pci/ctxfi/ctmixer.c
@@ -854,8 +854,8 @@ static int ct_mixer_get_resources(struct ct_mixer *mixer)
854 for (i = 0; i < (NUM_CT_SUMS * CHN_NUM); i++) { 854 for (i = 0; i < (NUM_CT_SUMS * CHN_NUM); i++) {
855 err = sum_mgr->get_sum(sum_mgr, &sum_desc, &sum); 855 err = sum_mgr->get_sum(sum_mgr, &sum_desc, &sum);
856 if (err) { 856 if (err) {
857 printk(KERN_ERR "ctxfi:Failed to get sum resources for " 857 dev_err(mixer->atc->card->dev,
858 "front output!\n"); 858 "Failed to get sum resources for front output!\n");
859 break; 859 break;
860 } 860 }
861 mixer->sums[i] = sum; 861 mixer->sums[i] = sum;
@@ -869,8 +869,8 @@ static int ct_mixer_get_resources(struct ct_mixer *mixer)
869 for (i = 0; i < (NUM_CT_AMIXERS * CHN_NUM); i++) { 869 for (i = 0; i < (NUM_CT_AMIXERS * CHN_NUM); i++) {
870 err = amixer_mgr->get_amixer(amixer_mgr, &am_desc, &amixer); 870 err = amixer_mgr->get_amixer(amixer_mgr, &am_desc, &amixer);
871 if (err) { 871 if (err) {
872 printk(KERN_ERR "ctxfi:Failed to get amixer resources " 872 dev_err(mixer->atc->card->dev,
873 "for mixer obj!\n"); 873 "Failed to get amixer resources for mixer obj!\n");
874 break; 874 break;
875 } 875 }
876 mixer->amixers[i] = amixer; 876 mixer->amixers[i] = amixer;