[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5555E885.6000806@intel.com>
Date: Fri, 15 May 2015 20:37:25 +0800
From: Pan Xinhui <xinhuix.pan@...el.com>
To: Nick Dyer <nick.dyer@...ev.co.uk>, linux-kernel@...r.kernel.org
CC: dmitry.torokhov@...il.com, yanmin_zhang@...ux.intel.com,
mnipxh@....com
Subject: Re: [PATCH V2] atmel: fix a race between fw_load and data free
hi,
yes, we can't guarantee MXT_FW_RESET_TIME is enough. patch v3 is sent out :)
thanks
xinhui
On 2015年05月14日 19:31, Nick Dyer wrote:
> Hi-
>
> This looks like a good tidy up, one minor comment:
>
> On 15/05/15 12:19, Pan Xinhui wrote:
>> + mxt_wait_for_completion(data, &data->fw_load_completion,
>> + MXT_FW_RESET_TIME);
>
> this should probably just be
>
> wait_for_completion(&data->fw_load_completion);
>
> rather than timing out (the MXT_FW_RESET_TIME may not be an appropriate
> length anyway)
>
> cheers
>
> Nick
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists