Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753247AbdDJKhB (ORCPT ); Mon, 10 Apr 2017 06:37:01 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:57701 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753045AbdDJKhA (ORCPT ); Mon, 10 Apr 2017 06:37:00 -0400 Message-ID: <1491820616.3087.34.camel@pengutronix.de> Subject: Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling From: Philipp Zabel To: Felipe Balbi Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ramiro Oliveira , Dinh Nguyen , John Youn , Greg Kroah-Hartman Date: Mon, 10 Apr 2017 12:36:56 +0200 In-Reply-To: <87o9w4ef6l.fsf@linux.intel.com> References: <20170130114116.22089-1-p.zabel@pengutronix.de> <20170130114116.22089-12-p.zabel@pengutronix.de> <87o9w4ef6l.fsf@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 31 Hi Felipe, On Mon, 2017-04-10 at 13:21 +0300, Felipe Balbi wrote: > Hi, > > Philipp Zabel writes: > > As of commit bb475230b8e5 ("reset: make optional functions really > > optional"), the reset framework API calls use NULL pointers to describe > > optional, non-present reset controls. > > > > This allows to return errors from devm_reset_control_get_optional and to > > call reset_control_(de)assert unconditionally. > > > > Signed-off-by: Philipp Zabel > > Cc: Dinh Nguyen > > Cc: John Youn > > Cc: Felipe Balbi > > Cc: Greg Kroah-Hartman > > doesn't apply to testing/next. Care to rebase and resend? v2 is already applied as commit 5a6e4f46abd5 ("usb: dwc2: simplify optional reset handling"), as far as I can tell. > Also, please Cc linux-usb ;-) I messed up the Cc: list on the first submission, but v2 should have made it to linux-usb. regards Philipp