On Fri, Sep 04, 2026 at 11:19:39AM +0900, HyeongJun An wrote:
> Nothing checks that the put() callback of an IEC958 control reports a
> change, because write_valid skips these controls.

> +/*
> + * Throw away the events from a write we are not grading, one left behind
> + * would make a missing notification look like a notification we got.
> + */
> +static int drop_events(struct ctl_data *ctl)
> +{
> +     int err;
> +
> +     do {
> +             err = wait_for_event(ctl, 0);
> +     } while (err > 0);
> +
> +     return err;
> +}

This seems like an unrelated change that wasn't noted in the changelog,
and one that should be made for all control types if we're going to make
it.

Attachment: signature.asc
Description: PGP signature

Reply via email to