Skip to contentSkip to conversation

ASoC: tas6424: disable regulators when probe error

PATCH Mark Brown 1 participant 2 messages Sep 14, 2020 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mark Brown

author
#1 lore raw
Quoted 11 lines · Chanho Park

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.

A message that is not in the archive (sent off-list or not yet received): CAPTzV144n2z--Us6OpK-FKb64Bsz+x+CQu1HiBDr2XHETQmTvw@mail.gmail.com

author
#3 lore raw
Quoted 11 lines · Chanho Park
Quoted 6 lines · Mark Brown

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.

Thanks for your suggestion.
I'll respin this patch without the call stack messages.

It's fine, I've already applied it - just please bear this in mind for future things.