Re: [PATCH] ASoC: samsung: Prevent clk_get_rate() calls in atomic context

From: Mark Brown
Date: Thu Feb 07 2019 - 09:32:23 EST


On Thu, Feb 07, 2019 at 03:20:41PM +0100, Sylwester Nawrocki wrote:

> [ 82.109780] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:908
> [ 82.117009] in_atomic(): 1, irqs_disabled(): 128, pid: 1554, name: speaker-test
> [ 82.124235] 3 locks held by speaker-test/1554:
> [ 82.128653] #0: cc8c5328 (snd_pcm_link_rwlock){...-}, at: snd_pcm_stream_lock_irq+0x20/0x38

Please think hard before including complete backtraces in upstream
reports, they are very large and contain almost no useful information
relative to their size so often obscure the relevant content in your
message. If part of the backtrace is usefully illustrative then it's
usually better to pull out the relevant sections.

Attachment: signature.asc
Description: PGP signature