Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1591615
| From | Moritz Fischer <mdf@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/3] nvmem: core: Allow allocating several anonymous nvmem devices |
| Date | 2017-03-03 03:00 +0100 |
| Message-ID | <tgKFH-2n3-3@gated-at.bofh.it> (permalink) |
| References | <tgF3k-72m-7@gated-at.bofh.it> <tgF3l-72m-33@gated-at.bofh.it> <tgFcZ-7kK-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Mar 2, 2017 at 12:03 PM, Boris Brezillon <boris.brezillon@free-electrons.com> wrote: > On Thu, 2 Mar 2017 20:50:23 +0100 > Alban <albeu@free.fr> wrote: > >> Currently the nvmem core expect the config to provide a name and ID >> that are then used to create the device name. When no device name is >> given 'nvmem' is used. However if there is several such anonymous >> devices they all get named 'nvmem0', which doesn't work. >> >> To fix this problem use the ID from the config only when the config >> also provides a name. When no name is provided take the uinque ID of >> the nvmem device instead. >> >> Signed-off-by: Alban <albeu@free.fr> > > Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reviewed-by: Moritz Fischer <mdf@kernel.org> Thanks, Moritz
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 3/3] nvmem: core: Allow allocating several anonymous nvmem devices Alban <albeu@free.fr> - 2017-03-02 21:00 +0100
Re: [PATCH 3/3] nvmem: core: Allow allocating several anonymous nvmem devices Boris Brezillon <boris.brezillon@free-electrons.com> - 2017-03-02 21:10 +0100
Re: [PATCH 3/3] nvmem: core: Allow allocating several anonymous nvmem devices Moritz Fischer <mdf@kernel.org> - 2017-03-03 03:00 +0100
Re: [PATCH 3/3] nvmem: core: Allow allocating several anonymous nvmem devices Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2017-03-03 11:20 +0100
csiph-web