]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: realtek: rtl8366rb: Serialize indirect PHY register access
authorAlvin Šipraga <alsi@bang-olufsen.dk>
Fri, 13 May 2022 21:36:18 +0000 (23:36 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 May 2022 20:09:46 +0000 (13:09 -0700)
commit4306df7362ca31f6ac7b0e83f823d0ff189aa45d
treed97115ae89ed3b0ce32fe67463318897fabd5731
parentcd415abace05d42b885996c01a996951d69daf36
net: dsa: realtek: rtl8366rb: Serialize indirect PHY register access

Lock the regmap during the whole PHY register access routines in
rtl8366rb.

Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20220513213618.2742895-1-linus.walleij@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/realtek/rtl8366rb.c