Commit 9a2ce7cf authored by Dan Carpenter's avatar Dan Carpenter Committed by Todd Kjos
Browse files

UPSTREAM: iommu/mediatek: Fix error code in probe()



This error path is supposed to return -EINVAL.  It used to return
directly but we added some clean up and accidentally removed the
error code.  Also I fixed a typo in the error message.

Fixes: c0b57581 ("iommu/mediatek: Add power-domain operation")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarYong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/YB0+GU5akSdu29Vu@mwanda


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
(cherry picked from commit a92a90ac)

BUG=b:174513569

Signed-off-by: default avatarYong Wu <yong.wu@mediatek.com>
Change-Id: I65e9f85408625df6c827ef835089d847a8ab7257
parent 2095b0d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment