hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/spi/spi-mpc52xx-psc.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * MPC52xx PSC in SPI mode driver.
34 *
45 * Maintainer: Dragos Carp
56 *
67 * Copyright (C) 2006 TOPTICA Photonics AG.
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the
10
- * Free Software Foundation; either version 2 of the License, or (at your
11
- * option) any later version.
128 */
139
1410 #include <linux/module.h>
....@@ -238,8 +234,7 @@
238234 break;
239235 m->actual_length += t->len;
240236
241
- if (t->delay_usecs)
242
- udelay(t->delay_usecs);
237
+ spi_transfer_delay_exec(t);
243238
244239 if (cs_change)
245240 mpc52xx_psc_spi_deactivate_cs(spi);