最近移植LCM和tp代码导致在没进入系统时不断重启,分析Oops追到regulator/core.c代码,不能往下分析,望老铁们帮分析。
alps/kernel-3.18/drivers/regulator/core.c
1903 /**
1904 * regulator_enable - enable regulator output
1905 * @regulator: regulator source
1906 *
1907 * Request that the regulator be enabled with the regulator output at
1908 * the predefined voltage or current value. Calls to regulator_enable()
1909 * must be balanced with calls to regulator_disable().
1910 *
1911 * NOTE: the output value can be set by other drivers, boot loader or may be
1912 * hardwired in the regulator.
1913 */
1914 int regulator_enable(struct regulator *regulator)
/**
2009 * regulator_disable - disable regulator output
2010 * @regulator: regulator source
2011 *
2012 * Disable the regulator output voltage or current. Calls to
2013 * regulator_enable() must be balanced with calls to
2014 * regulator_disable().
2015 *
2016 * NOTE: this will only disable the regulator output if no other consumer
2017 * devices have it enabled, the regulator device supports disabling and
2018 * machine constraints permit this operation.
2019 */
2020 int regulator_disable(struct regulator *regulator)
16RD supports Paypal , Payment is calculated at the exchange rate of the day. Unable to download please contact 18902843661 (WhatsApp OR wechat number)