.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2008-2010 |
---|
3 | 4 | * |
---|
4 | 5 | * - Kurt Van Dijck, EIA Electronics |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the version 2 of the GNU General Public License |
---|
8 | | - * as published by the Free Software Foundation |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - * GNU General Public License for more details. |
---|
14 | | - * |
---|
15 | | - * You should have received a copy of the GNU General Public License |
---|
16 | | - * along with this program; if not, see <http://www.gnu.org/licenses/>. |
---|
17 | 6 | */ |
---|
18 | 7 | |
---|
19 | 8 | #include <linux/firmware.h> |
---|
.. | .. |
---|
284 | 273 | goto failed; |
---|
285 | 274 | } |
---|
286 | 275 | |
---|
287 | | - /* regualar data */ |
---|
| 276 | + /* regular data */ |
---|
288 | 277 | for (sum = 0, j = 0; j < len; ++j) |
---|
289 | 278 | sum += dat[j]; |
---|
290 | 279 | /* work in 16bit (target) */ |
---|
.. | .. |
---|
485 | 474 | if (ret) |
---|
486 | 475 | goto failed; |
---|
487 | 476 | if (!bus_bitmask_start) |
---|
488 | | - /* no busses to be brought up */ |
---|
| 477 | + /* no buses to be brought up */ |
---|
489 | 478 | goto card_done; |
---|
490 | 479 | |
---|
491 | 480 | if ((bus_bitmask_start & 1) && (bus_bitmask_start & 2) |
---|
492 | 481 | && (softing_error_reporting(card->net[0]) |
---|
493 | 482 | != softing_error_reporting(card->net[1]))) { |
---|
494 | 483 | dev_alert(&card->pdev->dev, |
---|
495 | | - "err_reporting flag differs for busses\n"); |
---|
| 484 | + "err_reporting flag differs for buses\n"); |
---|
496 | 485 | goto invalid; |
---|
497 | 486 | } |
---|
498 | 487 | error_reporting = 0; |
---|
.. | .. |
---|
647 | 636 | priv->can.state = CAN_STATE_ERROR_ACTIVE; |
---|
648 | 637 | open_candev(netdev); |
---|
649 | 638 | if (dev != netdev) { |
---|
650 | | - /* notify other busses on the restart */ |
---|
| 639 | + /* notify other buses on the restart */ |
---|
651 | 640 | softing_netdev_rx(netdev, &msg, 0); |
---|
652 | 641 | ++priv->can.can_stats.restarts; |
---|
653 | 642 | } |
---|