Lukas Wunner
0818aab8a8
spi: mt7621: Disable clock in probe error path
...
commit 24f7033405abe195224ec793dbc3d7a27dec0b98 upstream.
Commit 702b15cb9712 ("spi: mt7621: fix missing clk_disable_unprepare()
on error in mt7621_spi_probe") sought to disable the SYS clock on probe
errors, but only did so for 2 of 3 potentially failing calls: The clock
needs to be disabled on failure of devm_spi_register_controller() as
well.
Moreover, the commit purports to fix a bug in commit cbd66c626e16 ("spi:
mt7621: Move SPI driver out of staging") but in reality the bug has
existed since the driver was first introduced.
Fixes: 1ab7f2a43558 ("staging: mt7621-spi: add mt7621 support")
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: <stable@vger.kernel.org> # v4.17+: 702b15cb9712: spi: mt7621: fix missing clk_disable_unprepare() on error in mt7621_spi_probe
Cc: <stable@vger.kernel.org> # v4.17+
Cc: Qinglang Miao <miaoqinglang@huawei.com>
Link: https://lore.kernel.org/r/36ad42760087952fb7c10aae7d2628547c26a7ec.1607286887.git.lukas@wunner.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-30 11:51:42 +01:00
..
2020-12-30 11:51:41 +01:00
2020-08-26 10:40:50 +02:00
2019-09-16 15:52:38 -07:00
2019-09-04 17:14:50 +01:00
2019-09-04 17:15:09 +01:00
2019-05-08 17:45:26 +09:00
2019-09-04 17:15:29 +01:00
2020-01-17 19:49:01 +01:00
2019-05-30 11:26:37 -07:00
2019-09-04 17:15:49 +01:00
2020-12-30 11:51:06 +01:00
2019-08-02 12:15:43 +01:00
2020-12-11 13:23:31 +01:00
2020-12-02 08:49:54 +01:00
2020-12-02 08:49:44 +01:00
2019-06-19 17:09:09 +02:00
2019-06-10 18:52:53 +01:00
2019-06-19 17:09:09 +02:00
2019-07-31 14:13:13 -06:00
2019-12-31 16:45:59 +01:00
2019-09-04 17:17:27 +01:00
2020-01-12 12:21:20 +01:00
2019-09-04 17:17:36 +01:00
2019-09-04 17:17:56 +01:00
2020-12-30 11:51:41 +01:00
2019-06-05 17:37:10 +02:00
2020-06-22 09:31:10 +02:00
2019-09-04 17:18:05 +01:00
2019-09-15 10:32:06 +01:00
2020-06-22 09:31:10 +02:00
2020-02-01 09:34:44 +00:00
2019-08-02 12:15:43 +01:00
2019-08-02 12:15:43 +01:00
2019-06-19 17:09:55 +02:00
2019-09-04 17:24:26 +01:00
2019-05-30 11:26:32 -07:00
2020-07-22 09:32:55 +02:00
2020-10-07 08:01:27 +02:00
2019-05-30 11:26:32 -07:00
2019-08-28 14:10:41 +01:00
2020-11-24 13:29:21 +01:00
2020-02-24 08:36:54 +01:00
2020-12-30 11:51:41 +01:00
2019-05-30 11:26:32 -07:00
2019-09-04 17:18:25 +01:00
2020-12-30 11:51:41 +01:00
2020-12-30 11:51:04 +01:00
2019-03-15 17:06:34 +00:00
2019-05-30 11:26:41 -07:00
2019-05-21 10:50:45 +02:00
2020-08-19 08:16:14 +02:00
2019-07-31 14:13:13 -06:00
2020-09-23 12:40:35 +02:00
2019-09-04 17:18:35 +01:00
2020-12-30 11:51:04 +01:00
2019-09-04 17:18:55 +01:00
2019-09-04 17:19:14 +01:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:16 +02:00
2019-05-30 11:26:32 -07:00
2020-07-29 10:18:37 +02:00
2020-12-30 11:51:42 +01:00
2020-12-30 11:51:42 +01:00
2020-12-30 11:51:09 +01:00
2020-11-24 13:29:22 +01:00
2019-09-04 17:20:03 +01:00
2020-12-16 10:56:56 +01:00
2019-09-04 17:20:33 +01:00
2020-10-29 09:57:41 +01:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2019-09-04 17:20:52 +01:00
2020-12-30 11:51:42 +01:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2020-12-30 11:51:41 +01:00
2019-06-19 17:09:55 +02:00
2019-09-04 17:21:12 +01:00
2020-03-25 08:25:42 +01:00
2020-12-30 11:51:42 +01:00
2020-08-19 08:15:58 +02:00
2020-01-17 19:49:01 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-09-04 17:21:31 +01:00
2020-10-29 09:57:34 +01:00
2020-12-30 11:51:42 +01:00
2019-02-08 13:04:19 +00:00
2019-08-07 14:24:47 +01:00
2019-06-19 17:09:55 +02:00
2020-12-30 11:51:41 +01:00
2019-12-31 16:44:34 +01:00
2019-09-04 17:22:00 +01:00
2019-08-02 12:15:43 +01:00
2020-07-22 09:33:18 +02:00
2020-12-30 11:51:07 +01:00
2020-12-30 11:51:42 +01:00
2019-12-13 08:43:13 +01:00
2020-12-30 11:51:05 +01:00
2019-09-04 17:22:29 +01:00
2020-07-22 09:33:02 +02:00
2020-12-30 11:51:42 +01:00
2020-12-30 11:51:06 +01:00
2020-12-30 11:51:06 +01:00
2020-12-30 11:51:06 +01:00
2019-05-30 11:26:37 -07:00
2020-12-30 11:51:05 +01:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:36:37 +02:00
2020-01-09 10:20:04 +01:00
2019-05-30 11:25:18 -07:00
2019-06-19 17:09:55 +02:00
2019-09-04 17:23:28 +01:00
2019-06-19 17:09:55 +02:00
2019-09-04 17:24:07 +01:00
2020-03-25 08:25:45 +01:00
2020-12-30 11:51:10 +01:00
2020-08-19 08:16:25 +02:00