diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-08-28 21:21:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 14:03:15 +0200 |
commit | d5144796db928b1f7a074c4be3575c50951c9569 (patch) | |
tree | b593bfc90fe634bef8829122496d873bdf9941f9 /fs/fat/Kconfig | |
parent | VMware balloon: Enable notification via VMCI (diff) | |
download | linux-d5144796db928b1f7a074c4be3575c50951c9569.tar.xz linux-d5144796db928b1f7a074c4be3575c50951c9569.zip |
spmi: pmic-arb: Don't byte swap when reading/writing FIFO
We don't want to swap bytes that we're reading and writing to the
FIFOs when we're running on a big-endian CPU. Doing so causes
problems like where the qcom-spmi-iadc driver can't detect the
type of device because the bytes are all mixed up. Use the raw IO
accessors for these API instead, and collapse pmic_arb_base_read()
into the byte reading API so that we aren't tempted to read non-FIFO
data like commands with that function.
Cc: Andy Gross <agross@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions