Hi,
On Wed, Dec 12, 2012 at 10:13:27PM +0100, Linus Walleij wrote:
> On Tue, Nov 27, 2012 at 3:11 PM, Linus Walleij
> wrote:
> > On Wed, Nov 21, 2012 at 3:33 PM, Linus Walleij
> > wrote:
> >> On Wed, Nov 14, 2012 at 3:40 PM, Linus Walleij
> >> wrote:
> >>
> >>> From: Haipeng YU
> >>>
> >>> W
On Tue, Nov 27, 2012 at 3:11 PM, Linus Walleij wrote:
> On Wed, Nov 21, 2012 at 3:33 PM, Linus Walleij
> wrote:
>> On Wed, Nov 14, 2012 at 3:40 PM, Linus Walleij
>> wrote:
>>
>>> From: Haipeng YU
>>>
>>> When a device is switched off by software, gserial_cleanup will
>>> be called, and switch
On Tue, Nov 27, 2012 at 03:11:15PM +0100, Linus Walleij wrote:
> On Wed, Nov 21, 2012 at 3:33 PM, Linus Walleij
> wrote:
> > On Wed, Nov 14, 2012 at 3:40 PM, Linus Walleij
> > wrote:
> >
> >> From: Haipeng YU
> >>
> >> When a device is switched off by software, gserial_cleanup will
> >> be call
On Wed, Nov 21, 2012 at 3:33 PM, Linus Walleij wrote:
> On Wed, Nov 14, 2012 at 3:40 PM, Linus Walleij
> wrote:
>
>> From: Haipeng YU
>>
>> When a device is switched off by software, gserial_cleanup will
>> be called, and switch off will be blocked in this function
>> because wake_up_interruptib
On Wed, Nov 14, 2012 at 3:40 PM, Linus Walleij
wrote:
> From: Haipeng YU
>
> When a device is switched off by software, gserial_cleanup will
> be called, and switch off will be blocked in this function
> because wake_up_interruptible() in gs_close() can not wake_up
> the wait_event() in gserial_
From: Haipeng YU
When a device is switched off by software, gserial_cleanup will
be called, and switch off will be blocked in this function
because wake_up_interruptible() in gs_close() can not wake_up
the wait_event() in gserial_cleanup(), it should be changed to
wake_up() to match the wait_even