aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAapo Vienamo <[email protected]>2024-03-13 19:34:25 +0200
committerMiquel Raynal <[email protected]>2024-03-25 10:26:55 +0100
commitfe0b8213c0129ff2419458343d8d8e716b1495c0 (patch)
treecc3aec53748a36974205e7132fbae2eca653a96d /tools/perf/scripts/python/export-to-postgresql.py
parentd44f0bbbd8d182debcce88bda55b05269f3d33d6 (diff)
mtd: core: Don't fail mtd_otp_nvmem_add() if OTP is unsupported
Handle the case where -EOPNOTSUPP is returned from OTP driver. This addresses an issue that occurs with the Intel SPI flash controller, which has a limited supported opcode set. Whilst the OTP functionality is not available due to this restriction, other parts of the MTD functionality of the device are intact. This change allows the driver to gracefully handle the restriction by allowing the supported functionality to remain available instead of failing the probe altogether. Signed-off-by: Aapo Vienamo <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Reviewed-by: Michael Walle <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions