Re: [PATCH] spmi: regmap: enable userspace writes

From: Mark Brown
Date: Thu Sep 29 2016 - 14:00:43 EST


On Thu, Sep 29, 2016 at 05:06:26PM +0530, Kiran Gunda wrote:

> -#undef REGMAP_ALLOW_WRITE_DEBUGFS
> +#define REGMAP_ALLOW_WRITE_DEBUGFS

This is completely inappropriate for upstream, if you need to do
debugging on your platform you can enable this locally but enabling
random writes from userspace to any regmap device is really not a good
idea for system stablity or robustness.

Attachment: signature.asc
Description: PGP signature