Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1916b7e8 authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati Committed by Matt Wagantall
Browse files

mfd: wcd9335: Prevent excessive driver logging



Prevent excessive logging when non-existent wcd9335
codec hw registers are accessed from regmap debugfs
registers file.

Change-Id: I741499e142e62430869cfacc91d981f0bb3329d6
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent d764971d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1305,11 +1305,9 @@ static bool wcd9335_is_readable_register(struct device *dev, unsigned int reg)

	if (reg_tbl)
		return reg_tbl[reg_offset];
	else {
		dev_err(dev, "%s: register table is NULL\n", __func__);
	else
		return false;
}
}

static bool wcd9335_is_volatile_register(struct device *dev, unsigned int reg)
{