Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1523885
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] nvmem: qfprom: Fix to support single byte read/write |
| Date | 2016-11-16 23:30 +0100 |
| Message-ID | <sEgSl-rg-5@gated-at.bofh.it> (permalink) |
| References | <sDMAW-5VL-19@gated-at.bofh.it> <sDR7A-fI-15@gated-at.bofh.it> <sE0aS-6d1-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 11/16, Vivek Gautam wrote:
> Hi Stephen,
>
> On Wed, Nov 16, 2016 at 12:29 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> > On 11/15, Vivek Gautam wrote:
> >> @@ -53,7 +53,7 @@ static int qfprom_remove(struct platform_device *pdev)
> >> static struct nvmem_config econfig = {
> >> .name = "qfprom",
> >> .owner = THIS_MODULE,
> >> - .stride = 4,
> >> + .stride = 1,
> >
> > Are we certain that all qfproms support byte accesses?
>
> I have tested on 8916 and 8996. Will give a try on older targets as
> well.
>
> For a note: we had been using the reg_stride = 1, before removing
> regmap support for nvmem access [1].
>
> [1] 382c62f nvmem: qfprom: remove nvmem regmap dependency
>
>
Ah ok. If we were doing byte accesses before then I have no
concerns.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] nvmem: qfprom: Fix to support single byte read/write Vivek Gautam <vivek.gautam@codeaurora.org> - 2016-11-15 15:10 +0100
Re: [PATCH] nvmem: qfprom: Fix to support single byte read/write Stephen Boyd <sboyd@codeaurora.org> - 2016-11-15 20:00 +0100
Re: [PATCH] nvmem: qfprom: Fix to support single byte read/write Vivek Gautam <vivek.gautam@codeaurora.org> - 2016-11-16 05:40 +0100
Re: [PATCH] nvmem: qfprom: Fix to support single byte read/write Stephen Boyd <sboyd@codeaurora.org> - 2016-11-16 23:30 +0100
[PATCH v2] nvmem: qfprom: Allow single byte accesses for read/write Vivek Gautam <vivek.gautam@codeaurora.org> - 2016-11-17 07:10 +0100
csiph-web