On Wed, 31 Jul 2024 01:20:40 +0200, Mark Brown wrote: > > On Tue, Jul 30, 2024 at 11:47:48PM +0200, Jaroslav Kysela wrote: > > On 30. 07. 24 16:44, Mark Brown wrote: > > > > With some of these slower buses it's not immediately obvious that it's > > > worth the bother of caching - the overhead of doing the lookup is > > > negligable in the overall context of handling the interrupt. > > > I don't buy that argument. We should always try to write an optimal code. > > Every CPU tick counts. > > So do the bytes of memory you'd use caching the pointers! Adding two more works would be even more wastes, that's the beginning of the discussion :) The problem is the order of ASoC component initialization, though; AFAIUC, the kcontrols aren't instantiated at the point of component probe, hence you can't get kcontrol objects there. Takashi
- Follow-Ups:
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Charles Keepax
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- References:
- [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Charles Keepax
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Takashi Iwai
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Charles Keepax
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Takashi Iwai
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Charles Keepax
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Takashi Iwai
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Jaroslav Kysela
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Mark Brown
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Jaroslav Kysela
- Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- From: Mark Brown
- [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- Prev by Date: [PATCH -next] ASoC: fsl: lpc3xxx-i2s: Remove set but not used variable 'savedbitclkrate'
- Next by Date: Re: [PATCH -next] ASoC: fsl: lpc3xxx-i2s: Remove set but not used variable 'savedbitclkrate'
- Previous by thread: Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- Next by thread: Re: [PATCH] ASoC: cs42l43: Move shutter IRQ handling into a worker thread
- Index(es):