Thread (29 messages) 29 messages, 5 authors, 2024-12-17

Re: [net-next PATCH v11 5/9] mfd: an8855: Add support for Airoha AN8855 Switch MFD

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2024-12-10 21:05:46
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek, lkml

On Mon, Dec 09, 2024 at 03:18:13PM -0800, Jakub Kicinski wrote:
On Mon,  9 Dec 2024 14:44:22 +0100 Christian Marangi wrote:
quoted
+	regmap = devm_regmap_init(priv->dev, NULL, priv,
+				  &an8855_regmap_config);
+	if (IS_ERR(regmap))
            ^^^^^^^^^^^^^^
quoted
+		dev_err_probe(priv->dev, PTR_ERR(priv->dev),
                                         ^^^^^^^^^^^^^^^^^^
quoted
+			      "regmap initialization failed\n");
wrong ptr?
-- 
pw-bot: cr
Also, why continue execution if devm_regmap_init() failed?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help