target: msm8952: fix a logical error in regulator_disable API

In regulator_disable API, we currently do not check for the correct
flag to disable L17 and L6 regulators. Add change to fix this issue.

Change-Id: I1199d2d2c4ab649e900e1a45b1dd239abf1c8850
1 file changed