aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2023-04-11 16:25:26 +0100
committerMark Brown <[email protected]>2023-04-12 17:34:33 +0100
commitf00abaddf0300bd9ca87918148a26bdb748129db (patch)
treecc90669749b88641f8bc402499e98c8ce30f706a /drivers/usb/cdns3/cdns3-debug.h
parent7816e3407110d887726687740aa18c9ce8eeb0d2 (diff)
ASoC: cs35l56: Always wait for firmware boot in runtime-resume
When we are resuming from a system suspend the CS35L56 has probably been hard reset (usually a power-on reset). So we must wait for the firmware to boot. On SoundWire we also need it to re-initialize before we can read the registers to check the CS35L56 state. The simplest way to handle this is for runtime-resume to always wait for firmware boot. If the firmware is already booted the overhead is only one register read. The system-resume will have to runtime-resume the driver anyway before attempting any register access. So this will automatically include the wait for initialization on SoundWire. Signed-off-by: Richard Fitzgerald <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions