Avoid opening and closing hw_node everytime on ioctl
[yamaha-mc1n2-audio.git] / device / galaxys2.c
index 8a26453..a55734a 100644 (file)
@@ -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,