Messages in this thread | | | Date | Mon, 2 Feb 2015 14:34:21 +0530 | From | Laxman Dewangan <> | Subject | Re: [PATCH] spi: tegra114: cleanup wait_for_completion return handling |
| |
On Sunday 01 February 2015 07:25 PM, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int, this > patch adds an appropriate variable and fixes up the assignment. > As the string in dev_err already explicitly states "timeout" there > is little point in printing the 0 here which also just says "timeout". > Looks good to me. Thanks for fixing this. I think it is good if we fix the typo here also.
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
> + if (WARN_ON(dma_timeout == 0)) { > + dev_err(tspi->dev, "spi trasfer timeout\n"); trasfer->transfer
| |