git.legacy.paulk.fr
/
yamaha-mc1n2-audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid opening and closing hw_node everytime on ioctl
[yamaha-mc1n2-audio.git]
/
device
/
galaxys2.c
diff --git
a/device/galaxys2.c
b/device/galaxys2.c
index
8a26453
..
a55734a
100644
(file)
--- a/
device/galaxys2.c
+++ b/
device/galaxys2.c
@@
-796,6
+796,7
@@
struct yamaha_mc1n2_audio_params_route galaxys2_params_routes[] = {
struct yamaha_mc1n2_audio_device_ops galaxys2_ops = {
.hw_node = "/dev/snd/hwC0D0",
+ .hw_fd = -1,
.params = {
.init = &galaxys2_params_init,
.routes = &galaxys2_params_routes,