Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753091AbdDJKVs (ORCPT ); Mon, 10 Apr 2017 06:21:48 -0400 Received: from mga14.intel.com ([192.55.52.115]:25843 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752173AbdDJKVr (ORCPT ); Mon, 10 Apr 2017 06:21:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,182,1488873600"; d="asc'?scan'208";a="71972315" From: Felipe Balbi To: Philipp Zabel , linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Ramiro Oliveira , Philipp Zabel , Dinh Nguyen , John Youn , Greg Kroah-Hartman Subject: Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling In-Reply-To: <20170130114116.22089-12-p.zabel@pengutronix.de> References: <20170130114116.22089-1-p.zabel@pengutronix.de> <20170130114116.22089-12-p.zabel@pengutronix.de> Date: Mon, 10 Apr 2017 13:21:22 +0300 Message-ID: <87o9w4ef6l.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1711 Lines: 47 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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? Also, please Cc linux-usb ;-) =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAljrXKIACgkQzL64meEa mQbb8A//fiQi8brEEDRVzWHL6et4ZGc7+TtPJY7Bw2txk4Ik268WWAjGs3eErKMQ /y8I5uyhYYQAcHh9lvIhSuDzyaA9tuHwUcfziZPPH9XwqCmKq84u8MtbX3Zsogda 1+YlzLVjlwZ96wzdZO34mcDch94uILzYtKDKRKhc6bwWxpmI57SR8YWNg1PVF0gP l/7jaJl9fWoTPPtKa2IQgT5oF9NjgVZ063Jm6fnAYCkRFXzwHjVj/eS1TjB7C7IS YifVs3Zj4bttU7Q8q+zeBTv0q3LJ5/3CJPCjBvLq0BSAtv3TcSWCLLz4EDgywSru wgXh0yi1uxULtVU+mCXWaoAeBxjyYte1dWSLg+hZ3q/2A+MrgU0qlqzXVhZH4cfD 56Grnu5pYm88QJiu7YtfnIXi0tF7bwTZNZZwldN7xWb9rVip7hv+2ECnUzyr0yi2 p9qauFsuz2516rRfaK1XwmvO/R569FSqPgz7TkZwigmknB1B9yXU7fkOUT7V2KQn cTgJp8F8JS9AHMrvK9Ik068qOwVEyT4lYVDJFe1B7Js72BoPwcqPr6ssEzjsMpjJ my1RrrMWvqXc8UrdjAD9SBV0nqp64hie/8hQ6C+2InSV/KGx1a09mD8/UbC3gUFA cIzkfgj5BCdbVDeRVO5EbMsD/zg5L2h6bT4q5m7ScV2/cw6CDqU= =qGkC -----END PGP SIGNATURE----- --=-=-=--