Re: [PATCH v2 -next] i2c: imx: fix handling of wait_for_completion_timeout result

2015-01-13 Thread Wolfram Sang
On Sat, Dec 27, 2014 at 08:33:53AM -0500, Nicholas Mc Guire wrote: > wait_for_completion_timeout does not return negative values so > "result" handling here should be simplified to cover the actually > possible cases only. > > patch was only compile tested for imx_v6_v7_defconfig > > V2 spellch

[PATCH v2 -next] i2c: imx: fix handling of wait_for_completion_timeout result

2014-12-27 Thread Nicholas Mc Guire
wait_for_completion_timeout does not return negative values so "result" handling here should be simplified to cover the actually possible cases only. patch was only compile tested for imx_v6_v7_defconfig V2 spellchecked this time and proper labeling as suggested by Sedat Dilek patch is ag