lib/voe_handler.c
changeset 1350 cd278db5a872
parent 1327 4d179b06dd3c
child 1363 11c0b2caa253
equal deleted inserted replaced
1349:9baba3568df4 1350:cd278db5a872
   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;