[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <000b01dac17f$6b84e5d0$428eb170$@opensource.cirrus.com>
Date: Tue, 18 Jun 2024 13:59:56 +0100
From: Simon Trimmer <simont@...nsource.cirrus.com>
To: <tiwai@...e.com>
CC: <linux-sound@...r.kernel.org>, <alsa-devel@...a-project.org>,
<linux-kernel@...r.kernel.org>, <patches@...nsource.cirrus.com>
Subject: RE: [PATCH] ALSA: hda: cs35l56: Perform firmware download in the background
On Tue, Jun 18, 2024 at 1:53 PM Simon Trimmer
> Subject: [PATCH] ALSA: hda: cs35l56: Perform firmware download in the background
>
> It is possible that during system boot when there multiple devices
> attempting simultaneous initialization on a slow control bus the
> download of firmware and tuning data may take a user perceivable amount
> of time (a slow I2C bus with 4 amps this work could take over 2
> seconds).
>
> Adopt a pattern used in the ASoC driver and perform this activity in a
> background thread so that interactive performance is not impaired. The
> system_long_wq is a parallel workqueue and driver instances will perform
> their firmware downloads in parallel to make best use of available bus
> bandwidth.
>
> Signed-off-by: Simon Trimmer <simont@...nsource.cirrus.com>
Sorry Takashi this should have had v2 in the Subject - when fixing up v1 we
found all the things that triggered the series of hda_component changes
so it fell off my mental queue as something I'd published before.
I'll do a re-send with that corrected for Lore.
-Simon
Powered by blists - more mailing lists