[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220916191349.1659269-1-colin.foster@in-advantage.com>
Date: Fri, 16 Sep 2022 12:13:47 -0700
From: Colin Foster <colin.foster@...advantage.com>
To: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Cc: Paolo Abeni <pabeni@...hat.com>, Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
UNGLinuxDriver@...rochip.com,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Claudiu Manoil <claudiu.manoil@....com>,
Vladimir Oltean <vladimir.oltean@....com>
Subject: [PATCH v1 net-next 0/2] clean up ocelot_reset() routine
ocelot_reset() will soon be exported to a common library to be used by
the ocelot_ext system. This will make error values from regmap calls
possible, so they must be checked. Additionally, readx_poll_timeout()
can be substituted for the custom loop, as a simple cleanup.
I don't have hardware to verify this set directly, but there shouldn't
be any functional changes.
Colin Foster (2):
net: mscc: ocelot: utilize readx_poll_timeout() for chip reset
net: mscc: ocelot: check return values of writes during reset
drivers/net/ethernet/mscc/ocelot_vsc7514.c | 48 ++++++++++++++++------
1 file changed, 35 insertions(+), 13 deletions(-)
--
2.25.1
Powered by blists - more mailing lists