[PATCH 4.17 114/336] soc: qcom: smem: byte swap values properly