equal
deleted
inserted
replaced
140 { |
140 { |
141 ec_ioctl_voe_t data; |
141 ec_ioctl_voe_t data; |
142 |
142 |
143 data.config_index = voe->config->index; |
143 data.config_index = voe->config->index; |
144 data.voe_index = voe->index; |
144 data.voe_index = voe->index; |
145 data.size = 0; |
|
146 |
145 |
147 if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_EXEC, &data) == -1) { |
146 if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_EXEC, &data) == -1) { |
148 fprintf(stderr, "Failed to execute VoE handler: %s\n", |
147 fprintf(stderr, "Failed to execute VoE handler: %s\n", |
149 strerror(errno)); |
148 strerror(errno)); |
150 return EC_REQUEST_ERROR; |
149 return EC_REQUEST_ERROR; |