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

2014-04-16 Thread Herbert Xu
On Tue, Apr 15, 2014 at 12:51:43PM -0500, Joel Fernandes wrote: On 04/15/2014 12:18 PM, Nishanth Menon wrote: On 04/15/2014 12:06 PM, Joachim Eastwood wrote: On 15 April 2014 18:58, Nishanth Menon n...@ti.com wrote: pm_runtime_get_sync may not always succeed depending on SoC involved. So

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

2014-04-15 Thread Nishanth Menon
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 n...@ti.com --- V2: - review fixes, print function names in error log as well. V1:

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

2014-04-15 Thread Joachim Eastwood
On 15 April 2014 18:58, Nishanth Menon n...@ti.com 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 n...@ti.com --- V2: - review fixes,

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

2014-04-15 Thread Felipe Balbi
On Tue, Apr 15, 2014 at 11:58:31AM -0500, Nishanth Menon 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 n...@ti.com Reviewed-by: Felipe Balbi

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

2014-04-15 Thread Nishanth Menon
On 04/15/2014 12:06 PM, Joachim Eastwood wrote: On 15 April 2014 18:58, Nishanth Menon n...@ti.com 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

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

2014-04-15 Thread Joel Fernandes
On 04/15/2014 12:18 PM, Nishanth Menon wrote: On 04/15/2014 12:06 PM, Joachim Eastwood wrote: On 15 April 2014 18:58, Nishanth Menon n...@ti.com wrote: pm_runtime_get_sync may not always succeed depending on SoC involved. So handle the error appropriately ensuring usage_count is accurate in