commit | 9f7a9a448da7cf7951fb9e33eadd4dea173000fe | [log] [tgz] |
---|---|---|
author | Kiran Gunda <kgunda@codeaurora.org> | Fri Jul 28 12:40:41 2017 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 13:51:19 2017 +0200 |
tree | e4cd8dcd15d88c0a2d21f7a1fba9afeb6b4ddb86 | |
parent | 4788e613a65df19dbfc481473859c70b23eb5404 [diff] |
spmi: pmic-arb: replace the writel_relaxed with __raw_writel Replace the writel_relaxed with __raw_writel to avoid byte swapping in pmic_arb_write_data() function. That way the code is independent of the CPU endianness. Fixes: 111a10bf3e53 ("spmi: pmic-arb: rename spmi_pmic_arb_dev to spmi_pmic_arb") Signed-off-by: Kiran Gunda <kgunda@codeaurora.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>