|
@@ -208,6 +208,7 @@ static int snd_sb_csp_ioctl(struct snd_hwdep * hw, struct file *file, unsigned i
|
|
|
switch (cmd) {
|
|
switch (cmd) {
|
|
|
/* get information */
|
|
/* get information */
|
|
|
case SNDRV_SB_CSP_IOCTL_INFO:
|
|
case SNDRV_SB_CSP_IOCTL_INFO:
|
|
|
|
|
+ memset(&info, 0, sizeof(info));
|
|
|
*info.codec_name = *p->codec_name;
|
|
*info.codec_name = *p->codec_name;
|
|
|
info.func_nr = p->func_nr;
|
|
info.func_nr = p->func_nr;
|
|
|
info.acc_format = p->acc_format;
|
|
info.acc_format = p->acc_format;
|