Re: [RFC PATCH v1 2/3] regulator: qcom_smd: add list_voltage callback

From: Srinivas Kandagatla
Date: Fri Jun 03 2016 - 07:24:58 EST




On 03/06/16 11:40, Mark Brown wrote:
On Thu, Jun 02, 2016 at 11:23:15AM +0100, Srinivas Kandagatla wrote:
This patch adds support to list_voltage callback, so that consumers
like mmc core, can get information of supported voltage range.

Without this patch there is no way for mmc core to know this voltage range.

Something I applied yesterday, most likely this, seems to have broken
boot on a large proportion of (potentially all) 32 bit Qualcomm
platforms:

https://kernelci.org/boot/all/job/broonie-regulator/kernel/v4.7-rc1-10-gafafb91512cf/

I suspect this is because the fixed voltage regulator is triggering a
crash as it has no linear ranges defined. Please get me a fix ASAP.
Yes, looks like it is because of the fixed regulator thing, I send a patch with separate ops for this.

--srini