[PATCH] ASoC: tas6424: disable regulators when probe error

Mark Brown broonie at kernel.org
Mon Sep 14 13:27:09 CEST 2020


On Sat, Sep 12, 2020 at 11:31:51AM +0900, Chanho Park wrote:
> To fix up below errors when tas6424 chip is not available, this patch
> disables regulators before returning error.
> 
> [    9.367234] tas6424 2-006a: unable to reset device: -6
> [    9.499118] Call trace:
> [    9.501550]  _regulator_put.part.21+0x158/0x160
> [    9.506065]  regulator_put+0x34/0x48
> [    9.509624]  regulator_bulk_free+0x30/0x50
> [    9.513705]  devm_regulator_bulk_release+0x18/0x20
> [    9.518483]  release_nodes+0x1b8/0x2a0
> [    9.522215]  devres_release_all+0x34/0x50

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 (it often is
for search engines if nothing else) then it's usually better to pull out
the relevant sections.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200914/3a3e2eeb/attachment.sig>


More information about the Alsa-devel mailing list