From: Vutla, Lokesh Date: Tue, 31 Mar 2015 04:22:24 +0000 (+0530) Subject: crypto: omap-sham - Use pm_runtime_irq_safe() X-Git-Tag: omap-for-v4.1/fixes-rc1~140^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a3d8986a768c8b6a95ea6dd36e975bb3a44c44;p=pandora-kernel.git crypto: omap-sham - Use pm_runtime_irq_safe() omap_sham_handle_queue() can be called as part of done_task tasklet. During this its atomic and any calls to pm functions cannot sleep. But there is a call to pm_runtime_get_sync() (which can sleep) in omap_sham_handle_queue(), because of which the following appears: " [ 116.169969] BUG: scheduling while atomic: kworker/0:2/2676/0x00000100" Add pm_runtime_irq_safe() to avoid this. Signed-off-by: Lokesh Vutla Signed-off-by: Herbert Xu --- Reading git-diff-tree failed