Re: Issue: regmap: use debugfs even when no device

From: Mark Brown
Date: Tue May 28 2019 - 09:30:02 EST


On Tue, May 28, 2019 at 02:20:15AM +0000, Andy Duan wrote:

> So on i.MX8MM/8QM/8QXP platforms, we catch the issue that user dump regmap registers without
> power cause system hang.
> Maybe revert the patch is more reasonable ?

This is an issue with or without a device - you can have the same issue
with devices that are powered off. Typically where power is dynamic the
driver will use a register cache so the registers are always available.

Attachment: signature.asc
Description: PGP signature