MFD fixes for v4.7
Linus,
Please see below for the MFD fixes pull-request. Contained are some standard fixes and unusually an extension to the Reset API. Some of those changes are required to fix a bug introduced in -rc1, which introduces extra 'reset line checks' i.e. whether the line is shared or not. If a line is shared and the new *_shared() API is not used, the request fails with an error. This breaks USB in v4.7 for ST's platforms.
Admittedly, there are some patches contained in our (MFD/Reset) immutable branch which are not true -fixes, but there isn't anything I can do about that. Rest assured though, there aren't any API 'changes'. Everything is the same from the consumer's perspective.
The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-4.7
for you to fetch changes up to ba4a1c28a92df55b9263e838068b92eaa80c7850:
mfd: da9053: Fix compiler warning message for uninitialised variable (2016-06-30 07:44:23 +0100)
----------------------------------------------------------------
- Bug Fixes
- Use new reset_*_get_shared() variant to prevent reset line obtainment failure
- Fixes: 0b52297 ("reset: Add support for shared reset controls")
- Fix unintentional switch() fall-through into error path
- Fix uninitialised variable compiler warning
----------------------------------------------------------------
Lee Jones (9):
reset: Reorder inline reset_control_get*() wrappers
reset: Ensure drivers are explicit when requesting reset lines
reset: Supply *_shared variant calls when using of_* API
reset: Supply *_shared variant calls when using *_optional APIs
reset: TRIVIAL: Add line break at same place for similar APIs
usb: host: ohci-st: Inform the reset framework that our reset line may be shared
usb: host: ehci-st: Inform the reset framework that our reset line may be shared
usb: dwc3: st: Inform the reset framework that our reset line may be shared
phy: phy-stih407-usb: Inform the reset framework that our reset line may be shared
Rhyland Klein (1):
mfd: max77620: Fix FPS switch statements
Steve Twiss (1):
mfd: da9053: Fix compiler warning message for uninitialised variable
drivers/mfd/max77620.c | 2 + drivers/phy/phy-stih407-usb.c | 2 +- drivers/usb/dwc3/dwc3-st.c | 3 +- drivers/usb/host/ehci-st.c | 6 +- drivers/usb/host/ohci-st.c | 6 +- include/linux/mfd/da9052/da9052.h | 2 +- include/linux/reset.h | 211 ++++++++++++++++++++++++++++++-------- 7 files changed, 181 insertions(+), 51 deletions(-)
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Linus,
Apologies for missing these from the first PR. My fault, sorry!
They are based on top of mfd-fixes-4.7, which you already merged.
The following changes since commit ba4a1c28a92df55b9263e838068b92eaa80c7850:
mfd: da9053: Fix compiler warning message for uninitialised variable (2016-06-30 07:44:23 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-4.7.1
for you to fetch changes up to 5baaf3b9efe127d239038de9219d381f4d882b26:
usb: dwc3: st: Use explicit reset_control_get_exclusive() API (2016-07-01 10:52:16 +0100)
----------------------------------------------------------------
- Final patches fixing Reset API change
----------------------------------------------------------------
Lee Jones (3):
phy: miphy28lp: Inform the reset framework that our reset line may be shared
phy: phy-stih407-usb: Use explicit reset_control_get_exclusive() API
usb: dwc3: st: Use explicit reset_control_get_exclusive() API
drivers/phy/phy-miphy28lp.c | 3 ++- drivers/phy/phy-stih407-usb.c | 2 +- drivers/usb/dwc3/dwc3-st.c | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-)
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog