Skip to content
Commit 6da23358 authored by Pali Rohár's avatar Pali Rohár Committed by Paul Walmsley
Browse files

ARM: OMAP2+: Return correct error values from device and hwmod



Without this patch function pm_runtime_get_sync() returns 0 even when
some omap subfunction fails. This patch properly propagate error codes
from omap functions back to caller.

This patch fix problem, when loading omap-aes driver in qemu cause
kernel oops.

Signed-off-by: default avatarPali Rohár <pali.rohar@gmail.com>
[paul@pwsan.com: fix a checkpatch warning]
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent fabbe6df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment