Zakhar Levchenko kirjoitti: > I didn't mean that another procesess may interrupt execution, no. I > meant that handle_syncstart itself may return before SYNC_START stage. > There is the following code in handle_syncstart: > > if((err = prepare_output(adev, adev->dmap_out)) < 0) > return err; > > If prepare_output fails handle_syncstart will return before > SYNC_TRIGGER stage, that's what I meant saying "interrupted". Maybe I > didn't express this clearly. This is something that should never happen unless the driver is seriously broken. If it happens then there is nothing to do. I don't see there any reason to make handling of sync start in drivers unnecessarily complicated because of this.
Best regards, Hannu _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel