Commit f387ab1
committed
mtd: spi-nor: don't overwrite errno in spi_nor_get_map_in_use()
Don't overwrite the errno from spi_nor_read_raw().
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
(cherry picked from commit b9f07cc)
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>1 parent ea3ad78 commit f387ab1
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2804 | 2804 | | |
2805 | 2805 | | |
2806 | 2806 | | |
| 2807 | + | |
| 2808 | + | |
2807 | 2809 | | |
2808 | 2810 | | |
2809 | 2811 | | |
2810 | 2812 | | |
2811 | | - | |
| 2813 | + | |
2812 | 2814 | | |
2813 | 2815 | | |
2814 | 2816 | | |
| |||
2832 | 2834 | | |
2833 | 2835 | | |
2834 | 2836 | | |
2835 | | - | |
| 2837 | + | |
| 2838 | + | |
2836 | 2839 | | |
| 2840 | + | |
2837 | 2841 | | |
2838 | 2842 | | |
2839 | 2843 | | |
| |||
2849 | 2853 | | |
2850 | 2854 | | |
2851 | 2855 | | |
| 2856 | + | |
2852 | 2857 | | |
2853 | 2858 | | |
2854 | 2859 | | |
| |||
2989 | 2994 | | |
2990 | 2995 | | |
2991 | 2996 | | |
2992 | | - | |
2993 | | - | |
| 2997 | + | |
| 2998 | + | |
2994 | 2999 | | |
2995 | 3000 | | |
2996 | 3001 | | |
| |||
0 commit comments