| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * MPC52xx PSC in SPI mode driver. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Maintainer: Dragos Carp |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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. |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 238 | 234 | break; |
|---|
| 239 | 235 | m->actual_length += t->len; |
|---|
| 240 | 236 | |
|---|
| 241 | | - if (t->delay_usecs) |
|---|
| 242 | | - udelay(t->delay_usecs); |
|---|
| 237 | + spi_transfer_delay_exec(t); |
|---|
| 243 | 238 | |
|---|
| 244 | 239 | if (cs_change) |
|---|
| 245 | 240 | mpc52xx_psc_spi_deactivate_cs(spi); |
|---|