Re: [PATCH 2/4] spi: Allow SPI devices to specify that they are timing sensitive

From: Mark Brown
Date: Sun May 12 2019 - 13:07:56 EST


On Fri, May 10, 2019 at 03:34:35PM -0700, Douglas Anderson wrote:

> + * @timing_sensitive: Transfers for this device are senstive to timing
> + * so we should do our transfer at high priority.

Not sure this is the best name. Every device is timing sensitive to
some extent and it's a bit wooly about what it's trying to accomplish,
it's specifically about the timing involved in ensuring that the entire
message goes out as quickly as possible AIUI. I think if anything I'd
just have the caller specifying a RT priority for the thread, but that's
awkward as we might want to switch over to deadline at some point. How
about just calling the parameter rt the same as it is when the
controller does the same configuration?

Attachment: signature.asc
Description: PGP signature