Commit 704ec89
Joel Slebodnick
mtd: spi-nor: Introduce spi_nor_match_id()
JIRA: https://issues.redhat.com/browse/RHEL-40636
commit d0ddd88
Author: Tudor Ambarus <tudor.ambarus@microchip.com>
Date: Wed Apr 20 13:34:18 2022 +0300
mtd: spi-nor: Introduce spi_nor_match_id()
Similar to spi_nor_match_name() extend the search of flash_info through
all the manufacturers, this time doing the match by ID. There's no reason
to limit the search per manufacturer yet, do it globally, search the flash
in all the parts of all manufacturers in a single method.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20220420103427.47867-3-tudor.ambarus@microchip.com
Signed-off-by: Joel Slebodnick <jslebodn@redhat.com>1 parent bdc0eeb commit 704ec89
1 file changed
+19
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1848 | 1848 | | |
1849 | 1849 | | |
1850 | 1850 | | |
1851 | | - | |
1852 | | - | |
1853 | | - | |
| 1851 | + | |
| 1852 | + | |
1854 | 1853 | | |
1855 | | - | |
| 1854 | + | |
| 1855 | + | |
1856 | 1856 | | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
1861 | 1866 | | |
1862 | 1867 | | |
1863 | 1868 | | |
| |||
1867 | 1872 | | |
1868 | 1873 | | |
1869 | 1874 | | |
1870 | | - | |
1871 | 1875 | | |
1872 | 1876 | | |
1873 | 1877 | | |
| |||
1887 | 1891 | | |
1888 | 1892 | | |
1889 | 1893 | | |
1890 | | - | |
1891 | | - | |
1892 | | - | |
1893 | | - | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
1897 | | - | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
1898 | 1899 | | |
1899 | | - | |
1900 | | - | |
1901 | | - | |
1902 | | - | |
| 1900 | + | |
1903 | 1901 | | |
1904 | 1902 | | |
1905 | 1903 | | |
| |||
0 commit comments