soc/qman: Fix struct qm_fqd set accessor for context_a
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:18 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:41 +0000 (01:23 -0600)
context_a.hi is 32bit

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
include/soc/fsl/qman.h

index 37f3eb001a16989af624bac7c935ce1663b89f9b..1405810e4050438c1d2be45d7bb1860db7ae488f 100644 (file)
@@ -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));
 }