From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grazvydas Ignotas Date: Mon, 19 Mar 2012 16:01:56 +0000 Subject: Re: [PATCH 1/2] OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable() Message-Id: List-Id: References: <1332169352-5076-1-git-send-email-broonie@opensource.wolfsonmicro.com> In-Reply-To: <1332169352-5076-1-git-send-email-broonie@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Mark Brown Cc: Tomi Valkeinen , Florian Tobias Schandinat , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org On Mon, Mar 19, 2012 at 5:02 PM, Mark Brown wrote: > It is possible for regulator_enable() to fail and if it does fail that's > generally a bad sign for anything we try to do with the hardware afterwards > so check for and immediately return an error if regulator_enable() fails. > > Signed-off-by: Mark Brown > --- >  .../video/omap2/displays/panel-tpo-td043mtea1.c    |    5 ++++- >  1 files changed, 4 insertions(+), 1 deletions(-) > FWIW: Acked-by: Grazvydas Ignotas -- Gražvydas