[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170410161559.GB5339@atomide.com>
Date: Mon, 10 Apr 2017 09:15:59 -0700
From: Tony Lindgren <tony@...mide.com>
To: Johan Hovold <johan@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>, linux-serial@...r.kernel.org,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
Shubhrajyoti D <shubhrajyoti@...com>
Subject: Re: [PATCH 2/2] serial: omap: suspend device on probe errors
* Johan Hovold <johan@...nel.org> [170410 02:27]:
> Make sure to actually suspend the device before returning after a failed
> (or deferred) probe.
>
> Note that autosuspend must be disabled before runtime pm is disabled in
> order to balance the usage count due to a negative autosuspend delay as
> well as to make the final put suspend the device synchronously.
>
> Fixes: 388bc2622680 ("omap-serial: Fix the error handling in the omap_serial probe")
> Cc: Shubhrajyoti D <shubhrajyoti@...com>
> Cc: Tony Lindgren <tony@...mide.com>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Acked-by: Tony Lindgren <tony@...mide.com>
Powered by blists - more mailing lists