git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB: cx18-alsa: name alsa device after the actual card
[safe/jmp/linux-2.6]
/
drivers
/
media
/
video
/
cx18
/
cx18-alsa-pcm.c
diff --git
a/drivers/media/video/cx18/cx18-alsa-pcm.c
b/drivers/media/video/cx18/cx18-alsa-pcm.c
index
3661940
..
ec5851c
100644
(file)
--- a/
drivers/media/video/cx18/cx18-alsa-pcm.c
+++ b/
drivers/media/video/cx18/cx18-alsa-pcm.c
@@
-344,7
+344,7
@@
int snd_cx18_pcm_create(struct snd_cx18_card *cxsc)
snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_CAPTURE, &snd_cx18_pcm_capture_ops);
sp->info_flags = 0;
sp->private_data = cxsc;
- str
cpy(sp->name, "Conexant cx23418 Capture"
);
+ str
lcpy(sp->name, cx->card_name, sizeof(sp->name)
);
return 0;