Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270445
b: refs/heads/master
c: 3d37fbe
h: refs/heads/master
i:
  270443: ed3bd38
v: v3
  • Loading branch information
William Light authored and Takashi Iwai committed Oct 13, 2011
1 parent 91bb943 commit 459f11c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ffd3d5c6c7a20fb718daf98a6c8a476d228f3995
refs/heads/master: 3d37fbe44112b06279efa04ad91a0e4b7a0c600c
4 changes: 3 additions & 1 deletion trunk/sound/usb/caiaq/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,15 +664,17 @@ int snd_usb_caiaq_input_init(struct snd_usb_caiaqdev *dev)
for (i = 0; i < input->keycodemax; i++)
__set_bit(dev->keycode[i], input->keybit);

dev->input_dev = input;

ret = input_register_device(input);
if (ret < 0)
goto exit_free_idev;

dev->input_dev = input;
return 0;

exit_free_idev:
input_free_device(input);
dev->input_dev = NULL;
return ret;
}

Expand Down

0 comments on commit 459f11c

Please sign in to comment.