lkml.org 
[lkml]   [2017]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] phy: cpcap-usb: Fix platform_get_irq_byname's error checking.
* Sebastian Reichel <sre@kernel.org> [171117 12:37]:
> Hi,
>
> On Fri, Nov 17, 2017 at 04:55:35PM +0530, Arvind Yadav wrote:
> > The platform_get_irq_byname() function returns negative if an error occurs.
> > zero or positive number on success. platform_get_irq_byname() error
> > checking for zero is not correct.
> >
> > Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
> > ---
>
> Fixes: 6d6ce40f63af ("phy: cpcap-usb: Add CPCAP PMIC USB support")
> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

Acked-by: Tony Lindgren <tony@atomide.com>

\
 
 \ /
  Last update: 2017-11-17 18:14    [W:0.031 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site