[ALSA] Add missing KERN_* prefix
Modules: ALSA<-OSS emulation,USB generic driver,USB USX2Y Added missing KERN_* prefix to printk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Jaroslav Kysela
parent
8a5afd29dc
commit
d3d579f84e
@@ -2457,7 +2457,8 @@ static void register_oss_dsp(snd_pcm_t *pcm, int index)
|
||||
if (snd_register_oss_device(SNDRV_OSS_DEVICE_TYPE_PCM,
|
||||
pcm->card, index, &snd_pcm_oss_reg,
|
||||
name) < 0) {
|
||||
snd_printk("unable to register OSS PCM device %i:%i\n", pcm->card->number, pcm->device);
|
||||
snd_printk(KERN_ERR "unable to register OSS PCM device %i:%i\n",
|
||||
pcm->card->number, pcm->device);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2539,11 +2540,13 @@ static int __init alsa_pcm_oss_init(void)
|
||||
/* check device map table */
|
||||
for (i = 0; i < SNDRV_CARDS; i++) {
|
||||
if (dsp_map[i] < 0 || dsp_map[i] >= SNDRV_PCM_DEVICES) {
|
||||
snd_printk("invalid dsp_map[%d] = %d\n", i, dsp_map[i]);
|
||||
snd_printk(KERN_ERR "invalid dsp_map[%d] = %d\n",
|
||||
i, dsp_map[i]);
|
||||
dsp_map[i] = 0;
|
||||
}
|
||||
if (adsp_map[i] < 0 || adsp_map[i] >= SNDRV_PCM_DEVICES) {
|
||||
snd_printk("invalid adsp_map[%d] = %d\n", i, adsp_map[i]);
|
||||
snd_printk(KERN_ERR "invalid adsp_map[%d] = %d\n",
|
||||
i, adsp_map[i]);
|
||||
adsp_map[i] = 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user