| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * MPC512x PSC in SPI mode driver. |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Fork of mpc52xx_psc_spi.c: |
|---|
| 9 | 10 | * 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. |
|---|
| 15 | 11 | */ |
|---|
| 16 | 12 | |
|---|
| 17 | 13 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 315 | 311 | break; |
|---|
| 316 | 312 | m->actual_length += t->len; |
|---|
| 317 | 313 | |
|---|
| 318 | | - if (t->delay_usecs) |
|---|
| 319 | | - udelay(t->delay_usecs); |
|---|
| 314 | + spi_transfer_delay_exec(t); |
|---|
| 320 | 315 | |
|---|
| 321 | 316 | if (cs_change) |
|---|
| 322 | 317 | mpc512x_psc_spi_deactivate_cs(spi); |
|---|