soc: qcom: User resource pair number correctly
The number of resource pairs conveyed by the HW starts at 0, i.e a
value of 0x0 indicate 1 resource pair, 0x1 indicate two and so on.
As such add 1 to the value of NUMRSPAIR for a better representation.
Multiple 2 in save and restore operattion since it's number of pairs.
Change-Id: I3a0999ee05ad6a24322195a001e9ce6e1685c6fb
Signed-off-by:
Tingwei Zhang <tingwei@codeaurora.org>
Loading
Please register or sign in to comment