projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'dm-pull-29oct19' of git://git.denx.de/u-boot-dm
[oweals/u-boot.git]
/
drivers
/
spi
/
ath79_spi.c
diff --git
a/drivers/spi/ath79_spi.c
b/drivers/spi/ath79_spi.c
index f4b92aae287b32b9dc1e64eee6f20b5c66199288..207069218f6ce445728f10570f23df33a29da0cd 100644
(file)
--- a/
drivers/spi/ath79_spi.c
+++ b/
drivers/spi/ath79_spi.c
@@
-1,7
+1,6
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
/*
* Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-199,7
+198,7
@@
static int ath79_cs_info(struct udevice *bus, uint cs,
{
/* Always allow activity on CS 0/1/2 */
if (cs >= 3)
{
/* Always allow activity on CS 0/1/2 */
if (cs >= 3)
- return -E
NODEV
;
+ return -E
INVAL
;
return 0;
}
return 0;
}