Re: [PATCH 1/1] regmap: debugfs: runtime resume a device when reading registers

From: Mark Brown
Date: Wed Jan 10 2024 - 07:23:29 EST


On Wed, Jan 10, 2024 at 10:53:58AM +0100, Alexander Stein wrote:

> If the registers shall be read from device, runtime resume it in order
> to enable a possiblly attached power domain before accessing the device.

The idea is that the debugfs interface isn't supposed to be disruptive
to the thing being debugged. It would be better to detect if there will
be problems and report the status as busy.

Attachment: signature.asc
Description: PGP signature