On Tue, Dec 19, 2023 at 05:50:30PM +0100, Pierre-Louis Bossart wrote: > > grep for regmap_.*async - cs_dsp.c is the upstream example in a driver, > > or there's the rbtree cache sync code which uses a back door to go into > > an async mode. Basically just variants of all the normal regmap I/O > > calls with a _complete() call you can use to wait for everything to > > happen. The implementation is a bit heavyweight since it was written to > > work with fairly slow buses. > I spent a fair amount of time this afternoon trying to understand the > regmap_async parts, and I am not following where in the code there is an > ordering requirement/enforcement between async and sync usages. The only actual async implementation is SPI which processes things in order of submission, the sync API wraps the async API. > Also is this just me spacing out or there is no regmap_raw_read_async()? Right, there was never any need.
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- From: Pierre-Louis Bossart
- Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- References:
- [RFC PATCH 00/16] soundwire/ASoC: speed-up downloads with BTP/BRA protocol
- From: Pierre-Louis Bossart
- [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- From: Pierre-Louis Bossart
- Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- From: Mark Brown
- Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- From: Pierre-Louis Bossart
- Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- From: Mark Brown
- Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- From: Pierre-Louis Bossart
- [RFC PATCH 00/16] soundwire/ASoC: speed-up downloads with BTP/BRA protocol
- Prev by Date: Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- Next by Date: Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- Previous by thread: Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- Next by thread: Re: [RFC PATCH 01/16] Documentation: driver: add SoundWire BRA description
- Index(es):