diff options
author | Olof Johansson <olof@lixom.net> | 2019-04-07 15:14:00 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-04-07 15:14:00 -0700 |
commit | 57683e452b73d1f4f7fbe4627196139b9772c51a (patch) | |
tree | aac059cf6cf4f6b9c673a7e71feefa3d0e12ec42 | |
parent | ac0722f23ff5bc1b15e268564a4d56d35cd4a1b5 (diff) | |
parent | 13e8a05b922457761ddef39cfff6231bd4ed9eef (diff) | |
download | linux-57683e452b73d1f4f7fbe4627196139b9772c51a.tar.bz2 |
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>
-rw-r--r-- | drivers/reset/reset-meson-audio-arb.c | 1 | ||||
-rw-r--r-- | include/dt-bindings/reset/amlogic,meson-g12a-reset.h | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/reset/reset-meson-audio-arb.c b/drivers/reset/reset-meson-audio-arb.c index 91751617b37a..c53a2185a039 100644 --- a/drivers/reset/reset-meson-audio-arb.c +++ b/drivers/reset/reset-meson-audio-arb.c @@ -130,6 +130,7 @@ static int meson_audio_arb_probe(struct platform_device *pdev) arb->rstc.nr_resets = ARRAY_SIZE(axg_audio_arb_reset_bits); arb->rstc.ops = &meson_audio_arb_rstc_ops; arb->rstc.of_node = dev->of_node; + arb->rstc.owner = THIS_MODULE; /* * Enable general : diff --git a/include/dt-bindings/reset/amlogic,meson-g12a-reset.h b/include/dt-bindings/reset/amlogic,meson-g12a-reset.h index 8063e8314eef..6d487c5eba2c 100644 --- a/include/dt-bindings/reset/amlogic,meson-g12a-reset.h +++ b/include/dt-bindings/reset/amlogic,meson-g12a-reset.h @@ -51,7 +51,10 @@ #define RESET_SD_EMMC_A 44 #define RESET_SD_EMMC_B 45 #define RESET_SD_EMMC_C 46 -/* 47-60 */ +/* 47 */ +#define RESET_USB_PHY20 48 +#define RESET_USB_PHY21 49 +/* 50-60 */ #define RESET_AUDIO_CODEC 61 /* 62-63 */ /* RESET2 */ |