Re: [PATCH] crypto: atmel-sha204a - Fix OTP sysfs read and error handling

From: Thorsten Blum

Date: Mon Feb 16 2026 - 02:54:27 EST


On 16. Feb 2026, at 07:14, Lothar Rubusch wrote:
> [...]
>
> This would work. I'd squash this fixup together with the proposed
> patch and resubmit a fixed version.
>
> 8<-------------------------------------------------------------->8
> root@dut02:~/atsha204a-modif# insmod atmel-i2c.ko
> root@dut02:~/atsha204a-modif# insmod atmel-sha204a.ko
> root@dut02:~/atsha204a-modif# cat /sys/bus/i2c/devices/1-0064/atsha204a/otp
> 0001ED86032D0002154C033750FFFFFF20B0F703DB0CFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> 8<-------------------------------------------------------------->8

Thanks for verifying and testing. v2 can be found here:

https://lore.kernel.org/lkml/20260216074552.656814-1-thorsten.blum@xxxxxxxxx/

Best,
Thorsten