Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270435
b: refs/heads/master
c: 643d6bb
h: refs/heads/master
i:
  270433: 9042593
  270431: 88ec689
v: v3
  • Loading branch information
Dan Carpenter authored and Takashi Iwai committed Sep 23, 2011
1 parent 439faff commit ed591c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e699d2cc286506c00ce8ecc67c3d7d6cca9e814
refs/heads/master: 643d6bbb9637a9b4bb47ec1a1ae3adf3ff9d75a1
4 changes: 4 additions & 0 deletions trunk/sound/pci/rme9652/hdspm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6227,6 +6227,8 @@ static int snd_hdspm_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
break;

case SNDRV_HDSPM_IOCTL_GET_STATUS:
memset(&status, 0, sizeof(status));

status.card_type = hdspm->io_type;

status.autosync_source = hdspm_autosync_ref(hdspm);
Expand Down Expand Up @@ -6266,6 +6268,8 @@ static int snd_hdspm_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
break;

case SNDRV_HDSPM_IOCTL_GET_VERSION:
memset(&hdspm_version, 0, sizeof(hdspm_version));

hdspm_version.card_type = hdspm->io_type;
strncpy(hdspm_version.cardname, hdspm->card_name,
sizeof(hdspm_version.cardname));
Expand Down

0 comments on commit ed591c3

Please sign in to comment.