MIPS: lantiq: gphy: Drop reboot/remove reset asserts
authorMathias Kresin <dev@kresin.me>
Sun, 8 Apr 2018 08:30:03 +0000 (10:30 +0200)
committerJames Hogan <jhogan@kernel.org>
Thu, 24 May 2018 12:22:56 +0000 (13:22 +0100)
commit32795631e67e16141aa5e065c28ba03bf17abb90
tree311751c8055c4da024fd6cab9a43d42f2fb547fe
parent9a3a92ccfe3620743d4ae57c987dc8e9c5f88996
MIPS: lantiq: gphy: Drop reboot/remove reset asserts

While doing a global software reset, these bits are not cleared and let
some bootloader fail to initialise the GPHYs. The bootloader don't
expect the GPHYs in reset, as they aren't during power on.

The asserts were a workaround for a wrong syscon-reboot mask. With a
mask set which includes the GPHY resets, these resets aren't required
any more.

Fixes: 126534141b45 ("MIPS: lantiq: Add a GPHY driver which uses the RCU syscon-mfd")
Signed-off-by: Mathias Kresin <dev@kresin.me>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.14+
Patchwork: https://patchwork.linux-mips.org/patch/19003/
[jhogan@kernel.org: Fix build warnings]
Signed-off-by: James Hogan <jhogan@kernel.org>
drivers/soc/lantiq/gphy.c