/* Submit to an iodev a submission to work on. 
Should be called by the executor when it wishes to submit work to an iodev. */
static void rtio_iodev_submit(struct rtio_iodev_sqe *iodev_sqe)
/* Submit to an iodev a submission to work on. 
Should be called by the executor when it wishes to submit work to an iodev. */
static void rtio_iodev_submit(struct rtio_iodev_sqe *iodev_sqe)
{
	if (FIELD_GET(RTIO_SQE_CANCELED, iodev_sqe->sqe.flags)) {
		rtio_iodev_sqe_err(iodev_sqe, -ECANCELED);
		return;
	}
	iodev_sqe->sqe.iodev->api->submit(iodev_sqe);
}