summaryrefslogtreecommitdiffstats
path: root/samples/v4l
diff options
context:
space:
mode:
authorZhuohao Lee <zhuohao@chromium.org>2019-08-28 09:08:02 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2019-08-29 10:36:54 +0300
commitdcc935b06f1f29aa9f93008df3d13ab84ab0bbbb (patch)
tree4926eb694a2d0b9ffd39bafb38aee8b02ccff808 /samples/v4l
parent1018c94be6ea073115f6bcf993d6492138d2b8e3 (diff)
downloadlinux-dcc935b06f1f29aa9f93008df3d13ab84ab0bbbb.tar.gz
linux-dcc935b06f1f29aa9f93008df3d13ab84ab0bbbb.tar.bz2
linux-dcc935b06f1f29aa9f93008df3d13ab84ab0bbbb.zip
mtd: spi-nor: enable the debugfs for the partname and partid
This patch adds spi_nor_debugfs_init() for the debugfs initialization. With this patch, we can read the partname and partid through the debugfs. The output of new debugfs nodes on my device are: cat /sys/kernel/debug/mtd/mtd0/partid spi-nor:ef6017 cat /sys/kernel/debug/mtd/mtd0/partname w25q64dw Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions