[PATCH] Input: omap4-keypad: Fix the pm_runtime_get_sync return check

2012-08-09 Thread Shubhrajyoti D
A non-zero on pm_runtime_get_sync shouldnt be considered as an error it only means that there was another user. Fix the error check to check for negative values only. This should fix issues like below [ 917.049713] omap4-keypad omap4-keypad: pm_runtime_get_sync() failed [ 917.056457]

[PATCH] Input: omap4-keypad: Fix the pm_runtime_get_sync return check

2012-08-09 Thread Shubhrajyoti D
A non-zero on pm_runtime_get_sync shouldnt be considered as an error it only means that there was another user. Fix the error check to check for negative values only. This should fix issues like below [ 917.049713] omap4-keypad omap4-keypad: pm_runtime_get_sync() failed [ 917.056457]