Skip to content

Commit 57683e4

Browse files
committed
Merge tag 'reset-fixes-for-v5.1' of git://git.pengutronix.de/pza/linux into arm/fixes
Reset controller fixes for v5.1 This tag adds missing USB PHY reset lines to the Meson G12A reset controller header and fixes the Meson Audio ARB driver to prevent module unloading while it is in use. * tag 'reset-fixes-for-v5.1' of git://git.pengutronix.de/pza/linux: reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev dt-bindings: reset: meson-g12a: Add missing USB2 PHY resets Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents ac0722f + 13e8a05 commit 57683e4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/reset/reset-meson-audio-arb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ static int meson_audio_arb_probe(struct platform_device *pdev)
130130
arb->rstc.nr_resets = ARRAY_SIZE(axg_audio_arb_reset_bits);
131131
arb->rstc.ops = &meson_audio_arb_rstc_ops;
132132
arb->rstc.of_node = dev->of_node;
133+
arb->rstc.owner = THIS_MODULE;
133134

134135
/*
135136
* Enable general :

include/dt-bindings/reset/amlogic,meson-g12a-reset.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
#define RESET_SD_EMMC_A 44
5252
#define RESET_SD_EMMC_B 45
5353
#define RESET_SD_EMMC_C 46
54-
/* 47-60 */
54+
/* 47 */
55+
#define RESET_USB_PHY20 48
56+
#define RESET_USB_PHY21 49
57+
/* 50-60 */
5558
#define RESET_AUDIO_CODEC 61
5659
/* 62-63 */
5760
/* RESET2 */

0 commit comments

Comments
 (0)