Re: [PATCH V2] crypto: omap-des - handle error of pm_runtime_get_sync

From: Joachim Eastwood
Date: Tue Apr 15 2014 - 13:06:38 EST


On 15 April 2014 18:58, Nishanth Menon <nm@xxxxxx> wrote:
> pm_runtime_get_sync may not always succeed depending on SoC involved.
> So handle the error appropriately ensuring usage_count is accurate in
> case of failure.
>
> Signed-off-by: Nishanth Menon <nm@xxxxxx>
> ---
> V2:
> - review fixes, print function names in error log as well.
>
> V1: https://patchwork.kernel.org/patch/3993861/
> drivers/crypto/omap-des.c | 26 +++++++++++++++++++++++---
> 1 file changed, 23 insertions(+), 3 deletions(-)
>

Fixes the runtime warning from omap_l3_noc when omap-des is built-in
on my VAR-SOM-OM44 (OMAP4460) board.

Tested-by: Joachim Eastwood <manabian@xxxxxxxxx>

regards
Joachim Eastwood
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/