summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@nxp.com>2016-11-16 16:40:18 +0200
committerScott Wood <oss@buserror.net>2016-11-23 01:23:41 -0600
commit9f3670e8f6df6557fefe3ae0e626189c8c30c74c (patch)
treece0a14062547eba03dea95cde34f3c52c693e581 /include/soc
parent333e72cf475065a42b7bf33d76214eca45b9acbb (diff)
downloadop-kernel-dev-9f3670e8f6df6557fefe3ae0e626189c8c30c74c.zip
op-kernel-dev-9f3670e8f6df6557fefe3ae0e626189c8c30c74c.tar.gz
soc/qman: Fix struct qm_fqd set accessor for context_a
context_a.hi is 32bit Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/fsl/qman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/fsl/qman.h b/include/soc/fsl/qman.h
index 37f3eb0..1405810 100644
--- a/include/soc/fsl/qman.h
+++ b/include/soc/fsl/qman.h
@@ -411,7 +411,7 @@ static inline void qm_fqd_stashing_set64(struct qm_fqd *fqd, u64 addr)
static inline void qm_fqd_context_a_set64(struct qm_fqd *fqd, u64 addr)
{
- fqd->context_a.hi = cpu_to_be16(upper_32_bits(addr));
+ fqd->context_a.hi = cpu_to_be32(upper_32_bits(addr));
fqd->context_a.lo = cpu_to_be32(lower_32_bits(addr));
}
OpenPOWER on IntegriCloud