[PATCH 5.4 126/215] soc: qcom: rpmh: Update dirty flag only when data changes