Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-18 Thread Adrian Hunter
On 18/08/16 01:12, Christopher Freeman wrote: > On 08-17 01:31 PM, Robert Foss wrote: >> >> >> On 2016-08-17 06:47 AM, Adrian Hunter wrote: >>> On 17/08/16 00:25, robert.f...@collabora.com wrote: From: Christopher Freeman wait_event_interruptible_timeout() will

Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-18 Thread Adrian Hunter
On 18/08/16 01:12, Christopher Freeman wrote: > On 08-17 01:31 PM, Robert Foss wrote: >> >> >> On 2016-08-17 06:47 AM, Adrian Hunter wrote: >>> On 17/08/16 00:25, robert.f...@collabora.com wrote: From: Christopher Freeman wait_event_interruptible_timeout() will return early if the

Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-17 Thread Christopher Freeman
On 08-17 01:31 PM, Robert Foss wrote: > > > On 2016-08-17 06:47 AM, Adrian Hunter wrote: > >On 17/08/16 00:25, robert.f...@collabora.com wrote: > >>From: Christopher Freeman > >> > >>wait_event_interruptible_timeout() will return early if the blocked > >>process receives a

Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-17 Thread Christopher Freeman
On 08-17 01:31 PM, Robert Foss wrote: > > > On 2016-08-17 06:47 AM, Adrian Hunter wrote: > >On 17/08/16 00:25, robert.f...@collabora.com wrote: > >>From: Christopher Freeman > >> > >>wait_event_interruptible_timeout() will return early if the blocked > >>process receives a signal, causing the

Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-17 Thread Robert Foss
On 2016-08-17 06:47 AM, Adrian Hunter wrote: On 17/08/16 00:25, robert.f...@collabora.com wrote: From: Christopher Freeman wait_event_interruptible_timeout() will return early if the blocked process receives a signal, causing the driver to abort the tuning procedure and

Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-17 Thread Robert Foss
On 2016-08-17 06:47 AM, Adrian Hunter wrote: On 17/08/16 00:25, robert.f...@collabora.com wrote: From: Christopher Freeman wait_event_interruptible_timeout() will return early if the blocked process receives a signal, causing the driver to abort the tuning procedure and possibly leaving the

Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-17 Thread Adrian Hunter
On 17/08/16 00:25, robert.f...@collabora.com wrote: > From: Christopher Freeman > > wait_event_interruptible_timeout() will return early if the blocked > process receives a signal, causing the driver to abort the tuning > procedure and possibly leaving the controller in a

Re: [PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-17 Thread Adrian Hunter
On 17/08/16 00:25, robert.f...@collabora.com wrote: > From: Christopher Freeman > > wait_event_interruptible_timeout() will return early if the blocked > process receives a signal, causing the driver to abort the tuning > procedure and possibly leaving the controller in a bad state. Since the >

[PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-16 Thread robert . foss
From: Christopher Freeman wait_event_interruptible_timeout() will return early if the blocked process receives a signal, causing the driver to abort the tuning procedure and possibly leaving the controller in a bad state. Since the tuning command is expected to complete

[PACTH v3] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-16 Thread robert . foss
From: Christopher Freeman wait_event_interruptible_timeout() will return early if the blocked process receives a signal, causing the driver to abort the tuning procedure and possibly leaving the controller in a bad state. Since the tuning command is expected to complete quickly (<50ms) and