Skip to content

Commit ba64a04

Browse files
Heiko Stuebnergregkh
authored andcommitted
nvmem: rockchip-efuse: set type to OTP
This device currently reports an "Unknown" type in sysfs. Since it is an eFuse hardware device, set its type to OTP. Signed-off-by: Heiko Stuebner <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 39f9560 commit ba64a04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/nvmem/rockchip-efuse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ static int rockchip_rk3399_efuse_read(void *context, unsigned int offset,
206206
static struct nvmem_config econfig = {
207207
.name = "rockchip-efuse",
208208
.add_legacy_fixed_of_cells = true,
209+
.type = NVMEM_TYPE_OTP,
209210
.stride = 1,
210211
.word_size = 1,
211212
.read_only = true,

0 commit comments

Comments
 (0)