Simon Glass
e567ec849a
mtd: spi-nor: Tidy up error handling / debug code
...
The -ENODEV error value in spi_nor_read_id() is incorrect since there
clearly is a device - it just cannot be supported. Use -ENOMEDIUM instead
which has the virtue of being less common.
Fix the return value in spi_nor_scan().
Also there are a few printf() statements which should be debug() since
they bloat the code with unused strings at present. Fix those while here.
Signed-off-by: Simon Glass <sjg@chromium.org >
2020-08-03 22:19:54 -04:00
..
2020-07-25 14:46:57 -06:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-06-02 17:27:04 -04:00
2020-07-11 21:30:21 +09:00
2020-07-28 19:30:39 -06:00
2020-05-18 21:19:23 -04:00
2020-07-27 11:15:37 -04:00
2020-07-24 19:25:15 -06:00
2020-07-25 14:46:57 -06:00
2020-07-27 14:16:29 +05:30
2020-07-17 09:30:13 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-06-24 13:07:57 +02:00
2020-06-24 13:11:08 +02:00
2020-07-29 21:16:08 -04:00
2020-05-18 21:19:23 -04:00
2020-07-29 08:43:40 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-07-25 14:46:57 -06:00
2020-07-29 21:16:08 -04:00
2020-08-03 22:19:54 -04:00
2020-07-28 22:44:00 -04:00
2020-06-23 14:43:23 -04:00
2020-05-18 21:19:18 -04:00
2020-07-27 14:24:15 +05:30
2020-07-27 15:18:15 -04:00
2020-07-28 18:00:05 +02:00
2020-07-29 08:43:40 -04:00
2020-07-17 08:04:48 -04:00
2020-07-25 14:46:57 -06:00
2020-07-17 09:30:13 -04:00
2020-07-24 14:56:29 +08:00
2020-05-18 21:19:18 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-07-29 08:43:40 -04:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-07-17 14:32:24 +08:00
2020-07-28 19:30:39 -06:00
2020-07-25 14:46:57 -06:00
2020-08-01 11:58:39 +02:00
2020-07-29 10:37:11 -04:00
2020-05-22 13:29:25 +02:00
2020-07-25 14:46:57 -06:00
2020-07-09 18:57:22 -06:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-07-29 08:43:40 -04:00
2020-06-05 04:04:41 +02:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-07-27 15:18:15 -04:00
2020-07-28 19:30:39 -06:00
2020-07-28 19:30:39 -06:00