From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
Komal Bajaj <quic_kbajaj@quicinc.com>
Cc: agross@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
bryan.odonoghue@linaro.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v8 3/6] nvmem: core: Add stub for nvmem_cell_read_u8
Date: Wed, 20 Sep 2023 09:24:21 +0200 [thread overview]
Message-ID: <9575d7d8-83dc-5814-ced0-46d49eeded84@linaro.org> (raw)
In-Reply-To: <pvif5decuie62pid3zjpsb2tp5hzndxvww7v3jdhl6jkymbpcn@bjhud2hevjm6>
On 13/09/2023 21:27, Bjorn Andersson wrote:
> On Wed, Aug 30, 2023 at 04:26:51PM +0530, Komal Bajaj wrote:
>> Add the stub nvmem_cell_read_u8() function for drivers running with
>> CONFIG_NVMEM disabled.
>>
>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
>
> Srini, do you have any concerns with me taking this together with the
> remaining patches through my tree?
It works for me.
Acked-by: Srinivas Kandagatla <srinivas.kadnagatla@linaro.org>
--srin
>
> Regards,
> Bjorn
>
>> ---
>> include/linux/nvmem-consumer.h | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h
>> index 4523e4e83319..6ec4b9743e25 100644
>> --- a/include/linux/nvmem-consumer.h
>> +++ b/include/linux/nvmem-consumer.h
>> @@ -127,6 +127,12 @@ static inline int nvmem_cell_write(struct nvmem_cell *cell,
>> return -EOPNOTSUPP;
>> }
>>
>> +static inline int nvmem_cell_read_u8(struct device *dev,
>> + const char *cell_id, u8 *val)
>> +{
>> + return -EOPNOTSUPP;
>> +}
>> +
>> static inline int nvmem_cell_read_u16(struct device *dev,
>> const char *cell_id, u16 *val)
>> {
>> --
>> 2.41.0
>>
next prev parent reply other threads:[~2023-09-20 7:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-30 10:56 [PATCH v8 0/6] soc: qcom: llcc: Add support for QDU1000/QRU1000 Komal Bajaj
2023-08-30 10:56 ` [PATCH v8 1/6] dt-bindings: cache: qcom,llcc: Add LLCC compatible " Komal Bajaj
2023-08-30 10:56 ` [PATCH v8 2/6] soc: qcom: llcc: Refactor llcc driver to support multiple configuration Komal Bajaj
2023-08-30 12:35 ` Konrad Dybcio
2023-08-31 13:31 ` Mukesh Ojha
2023-08-30 10:56 ` [PATCH v8 3/6] nvmem: core: Add stub for nvmem_cell_read_u8 Komal Bajaj
2023-08-31 13:43 ` Mukesh Ojha
2023-09-13 19:27 ` Bjorn Andersson
2023-09-20 7:24 ` Srinivas Kandagatla [this message]
2023-08-30 10:56 ` [PATCH v8 4/6] soc: qcom: Add LLCC support for multi channel DDR Komal Bajaj
2023-08-30 12:32 ` Konrad Dybcio
2023-08-30 12:33 ` Konrad Dybcio
2023-08-31 13:46 ` Mukesh Ojha
2023-08-30 10:56 ` [PATCH v8 5/6] soc: qcom: llcc: Updating the macro name Komal Bajaj
2023-08-30 10:56 ` [PATCH v8 6/6] soc: qcom: llcc: Add QDU1000 and QRU1000 LLCC support Komal Bajaj
2023-08-30 12:33 ` Konrad Dybcio
2023-08-31 13:42 ` Mukesh Ojha
2023-09-20 17:14 ` [PATCH v8 0/6] soc: qcom: llcc: Add support for QDU1000/QRU1000 Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9575d7d8-83dc-5814-ced0-46d49eeded84@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_kbajaj@quicinc.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®