clk: meson: axg-audio: improve deferral handling
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 20 May 2021 07:31:36 +0000 (09:31 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 24 May 2021 08:26:27 +0000 (10:26 +0200)
commit50cb321f16f6665873071792d89ab8563be1658d
tree0f879657c96e3ee13e4aaaa17489d5731bf47975
parentbc794f8c56abddf709f1f84fcb2a3c9e7d9cc9b4
clk: meson: axg-audio: improve deferral handling

Use dev_err_probe() for clock and reset resources to indicate the deferral
reason through sysfs when waiting for the resource to come up.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20210520073136.272925-1-jbrunet@baylibre.com
drivers/clk/meson/axg-audio.c