Re: [PATCH] regmap: Kconfig: Select SPMI when REGMAP_SPMI is selected

Pramod Gurav
2014-07-16T12:14:32Z

Hi,

On Wednesday, 16 July, 2014 5:37pm, "Stanimir Varbanov" <svarbanov@mm-sol.com> said:

> Hi,
>
> <snip>
>>
>> Signed-off-by: Pramod Gurav <pramod.gurav.etc@gmail.com>
>> CC: Josh Cartwright <joshc@codeaurora.org>
>> CC: Mark Brown <broonie@linaro.org>
>> ---
>> This was found when I enabled support for Qualcomm QPNP PMICs and was
>> compiling it. It selects REGMAP_SPMI and hence the crash.
>>
>> drivers/base/regmap/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
>> index 4251570..1aa9d71 100644
>> --- a/drivers/base/regmap/Kconfig
>> +++ b/drivers/base/regmap/Kconfig
>> @@ -16,6 +16,7 @@ config REGMAP_SPI
>> tristate
>>
>> config REGMAP_SPMI
>> + select SPMI
>
> NO, IMO the CONFIG_SPMI should be enabled by qcom_defconfig and
> multi_v7_defconfig. See CONFIG_I2C and REGMAP_I2C for example.
>

I am using multi_v7_defconfig but its not enabling it. I ran qcom_defconfig which does.

> --
> regards,
> Stan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>