summaryrefslogtreecommitdiffstats
path: root/tools/thermal/tmon
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-08-28 12:21:42 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 13:03:15 +0100
commitd5144796db928b1f7a074c4be3575c50951c9569 (patch)
treeb593bfc90fe634bef8829122496d873bdf9941f9 /tools/thermal/tmon
parent48e3d668b7902cca3c61e9e2098e7f76b5646c28 (diff)
downloadop-kernel-dev-d5144796db928b1f7a074c4be3575c50951c9569.zip
op-kernel-dev-d5144796db928b1f7a074c4be3575c50951c9569.tar.gz
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 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud