[PATCH v5 3/7] regulator: core: add guard delay between calling regulator_disable and _enable

2014-08-13 Thread Guodong Xu
Some regulator require a minimum delay between its disable and next enable. This is to avoid damages when out-of-range frequent disable/enable of a single regulator can bring to the regulator chip. Add @off_on_delay to struct regulator_desc. Device drivers' can use this field to set this guard

[PATCH v5 3/7] regulator: core: add guard delay between calling regulator_disable and _enable

2014-08-13 Thread Guodong Xu
Some regulator require a minimum delay between its disable and next enable. This is to avoid damages when out-of-range frequent disable/enable of a single regulator can bring to the regulator chip. Add @off_on_delay to struct regulator_desc. Device drivers' can use this field to set this guard