hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/spi/spi-mpc512x-psc.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * MPC512x PSC in SPI mode driver.
34 *
....@@ -7,11 +8,6 @@
78 *
89 * Fork of mpc52xx_psc_spi.c:
910 * Copyright (C) 2006 TOPTICA Photonics AG., Dragos Carp
10
- *
11
- * This program is free software; you can redistribute it and/or modify it
12
- * under the terms of the GNU General Public License as published by the
13
- * Free Software Foundation; either version 2 of the License, or (at your
14
- * option) any later version.
1511 */
1612
1713 #include <linux/module.h>
....@@ -315,8 +311,7 @@
315311 break;
316312 m->actual_length += t->len;
317313
318
- if (t->delay_usecs)
319
- udelay(t->delay_usecs);
314
+ spi_transfer_delay_exec(t);
320315
321316 if (cs_change)
322317 mpc512x_psc_spi_deactivate_cs(spi);