Merge branch 'clean-up-ocelot_reset-routine'
authorJakub Kicinski <kuba@kernel.org>
Thu, 22 Sep 2022 01:29:38 +0000 (18:29 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Sep 2022 01:29:38 +0000 (18:29 -0700)
commitcdf49fff10fd4a617a4331a2911097ac65290f7a
treeedeb091f250a5ea93ada9e91b4827ea1ca8d162e
parentd294ad825432f845bbd9243d1d70f15e467a823d
parentfa1d90b048c2037679b389bb41b29963d5faf232
Merge branch 'clean-up-ocelot_reset-routine'

Colin Foster says:

====================
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.
====================

Link: https://lore.kernel.org/r/20220917175127.161504-1-colin.foster@in-advantage.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>