Skip to content

Commit

Permalink
Merge tag 'reset-fixes-for-v5.1' of git://git.pengutronix.de/pza/linu…
Browse files Browse the repository at this point in the history
…x 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>
  • Loading branch information
olofj committed Apr 7, 2019
2 parents ac0722f + 13e8a05 commit 57683e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/reset/reset-meson-audio-arb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down
5 changes: 4 additions & 1 deletion include/dt-bindings/reset/amlogic,meson-g12a-reset.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 57683e4

Please sign in to comment.