commit | b2296bd43e781976743354c668a356b0df98e1da | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <[email protected]> | Mon Jan 02 13:08:45 2012 +0530 |
committer | Mark Brown <[email protected]> | Mon Jan 02 11:36:02 2012 +0000 |
tree | 2f440014a55bc7b10205b0c18644a516db79f41d | |
parent | 4fef21eaacb9d739f0120c930c78dac4f6875b9f [diff] |
regulator: Enable supply regulator if child rail is enabled. During regulator_register, the rail is set on the provided machine constraints and if it is enabled then it is also require to enable the supply regulator. This will make sure that: 1. Proper reference count for supply regulator to be maintain. 2. Supply regulator should be enable when given rail is enabled. Signed-off-by: Laxman Dewangan <[email protected]> Signed-off-by: Mark Brown <[email protected]>