realtek: fix locking issues
authorBirger Koblitz <git@birger-koblitz.de>
Thu, 10 Feb 2022 15:50:31 +0000 (16:50 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
commit68c66b0fa3a101841acf163baa2db6f884a4a24d
tree46112ad1a495b2f22eedb931aedf6371f874ea69
parentb53202a8c3f728c348c5376e5b5fb36af7c37744
realtek: fix locking issues

Fixe a coupld of locking issues found by applying lock
debugging to the code.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c