From: Vignesh Raghavendra <[email protected]>

fuse sense is essentially read, map it to fuse read.

Signed-off-by: Vignesh Raghavendra <[email protected]>
Signed-off-by: Anshul Dalal <[email protected]>
---
 drivers/misc/k3_fuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/k3_fuse.c b/drivers/misc/k3_fuse.c
index 882fd431659..d738f75f272 100644
--- a/drivers/misc/k3_fuse.c
+++ b/drivers/misc/k3_fuse.c
@@ -35,7 +35,7 @@ int fuse_read(u32 bank, u32 word, u32 *val)
 
 int fuse_sense(u32 bank, u32 word, u32 *val)
 {
-       return -EPERM;
+       return fuse_read(bank, word, val);
 }
 
 int fuse_prog(u32 bank, u32 word, u32 val)

-- 
2.52.0

Reply via email to