Re: [PATCH] drm/i915/audio: 'scheduling while atomic' during system resume

2024-04-09 Thread Jani Nikula
On Tue, 09 Apr 2024, Brent Lu wrote: > The i915_audio_component_codec_wake_override() function will be called > during resume process so replace usleep_range() function calls with > udelay() to avoid the 'scheduling while atomic' error. That explanation does not hold water. For example, what abo

[PATCH] drm/i915/audio: 'scheduling while atomic' during system resume

2024-04-08 Thread Brent Lu
The i915_audio_component_codec_wake_override() function will be called during resume process so replace usleep_range() function calls with udelay() to avoid the 'scheduling while atomic' error. [22138.069052] BUG: scheduling while atomic: cras/2682/0x [22138.069359] Call Trace: [22138.0693