ramips: do not print error log when mdio bus is disabled
authorShiji Yang <yangshiji66@qq.com>
Thu, 22 Jun 2023 18:05:21 +0000 (02:05 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Jul 2023 11:28:37 +0000 (13:28 +0200)
commitead5860c569cfdf577408953ce7e3e0092d8866a
tree09d33f839afec4168f50f17592970381e2b734be
parent3ac300c753df4352ea67654313641d6e7a7af6c8
ramips: do not print error log when mdio bus is disabled

The mdio bus is used to control externel switch. In most cases, they are
disabled, which is the normal behavior. Treating this as an error makes
no sense, so we need to change the notification level from error to info.

Fixes: a2acdf960704 ("ramips: mt7620: remove useless GMAC nodes")
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
(cherry picked from commit 285f0668f4058a935389985eb80353c8a5adbc7d)
target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c