Re: [PATCH 3/3] Documentation: ABI: sysfs-driver-regulator-output

From: Mark Brown
Date: Tue Sep 12 2023 - 10:00:52 EST


On Sun, Sep 10, 2023 at 01:50:37PM -0700, Zev Weiss wrote:
> On Mon, Sep 04, 2023 at 05:24:31AM PDT, Mark Brown wrote:

> > It's a clear on read interrupt.

> Sure, analogous behavior in hardware is reasonably common, but that doesn't
> strike me as a very compelling reason to design the kernel<->userspace
> interface to mimic it -- providing nicer interfaces than the raw hardware is
> one of the main reasons for having an OS in the first place, after all.

If it were something other than the userspace consumer I'd be more
worried, with this interface it's all sharp edges on a very embedded
system so it's a bit less concerning. In any case the obvious fix here
is to use clear on read.

Attachment: signature.asc
Description: PGP signature