From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 1/9] spi: sunxi: fix transfer timeout Date: Thu, 20 Aug 2015 14:29:07 -0700 Message-ID: <20150820212907.GV12027@sirena.org.uk> References: <0e0b52774a48ddb71dc8095b66942451cd31ff7d.1440080122.git.hramrach@gmail.com> <20150820184132.GO12027@sirena.org.uk> <20150820193433.GH30520@lukather> <20150820210830.GS12027@sirena.org.uk> <20150820211850.GI30520@lukather> Reply-To: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SvF6CGw9fzJC4Rcx" Cc: Michal Suchanek , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Maxime Ripard Return-path: Content-Disposition: inline In-Reply-To: <20150820211850.GI30520@lukather> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , List-Id: linux-spi.vger.kernel.org --SvF6CGw9fzJC4Rcx Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Thu, Aug 20, 2015 at 11:18:50PM +0200, Maxime Ripard wrote: > at the driver level. And I'm not really sure that we can do much more > at the framework level either, except maybe handling the timeout > directly (but then the drivers would have to handle the recovering > after a timeout too). We have handle_err() for that sort of cleanup. --SvF6CGw9fzJC4Rcx--