From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751828AbcF3HGo (ORCPT ); Thu, 30 Jun 2016 03:06:44 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:37330 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751383AbcF3HGn (ORCPT ); Thu, 30 Jun 2016 03:06:43 -0400 Date: Thu, 30 Jun 2016 07:59:45 +0100 From: Lee Jones To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org Subject: [GIT PULL] MFD fixes for v4.7 Message-ID: <20160630065945.GC1707@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog