lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 23 Dec 2016 16:29:42 +0530
From:   Vivek Gautam <vivek.gautam@...eaurora.org>
To:     srinivas.kandagatla@...aro.org, maxime.ripard@...e-electrons.com
Cc:     robh@...nel.org, sboyd@...eaurora.org,
        linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
        Vivek Gautam <vivek.gautam@...eaurora.org>
Subject: [PATCH 0/2] nvmem: core: Support to get nvmem cell using index

Couple of patches to support getting nvmem cell using cell index.
Usually when we have only one nvmem cell for a device, we may not
want to add a nvmem-cell-names property to the device node.
With these patches, we can now get a cell using phandle and the cell
index.

 - Based on torvald's master branch.
 - Tested with next-20161223 tag and a revert to patch [1], to fix
   build issue on arm64, on db410c target. Able to read temperatures
   from thermal sensors.

Vivek Gautam (2):
  nvmem: core: Allow getting cell by index in phandle
  nvmem: core: Add a resource managed API to get cell by index

 drivers/nvmem/core.c           | 68 +++++++++++++++++++++++++++++++++++++-----
 include/linux/nvmem-consumer.h | 19 +++++++++++-
 2 files changed, 79 insertions(+), 8 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Powered by blists - more mailing lists