diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-08-28 12:21:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 13:03:15 +0100 |
commit | d5144796db928b1f7a074c4be3575c50951c9569 (patch) | |
tree | b593bfc90fe634bef8829122496d873bdf9941f9 /drivers/Makefile | |
parent | 48e3d668b7902cca3c61e9e2098e7f76b5646c28 (diff) | |
download | linux-d5144796db928b1f7a074c4be3575c50951c9569.tar.bz2 |
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 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions