projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spi, mpc8xx: Add support for chipselect via GPIO and fixups
[platform/kernel/u-boot.git]
/
drivers
/
spi
/
atmel-quadspi.c
diff --git
a/drivers/spi/atmel-quadspi.c
b/drivers/spi/atmel-quadspi.c
index
0982983
..
cb64119
100644
(file)
--- a/
drivers/spi/atmel-quadspi.c
+++ b/
drivers/spi/atmel-quadspi.c
@@
-438,6
+438,9
@@
static bool atmel_qspi_supports_op(struct spi_slave *slave,
{
struct atmel_qspi *aq = dev_get_priv(slave->dev->parent);
+ if (!spi_mem_default_supports_op(slave, op))
+ return false;
+
if (aq->caps->octal) {
if (atmel_qspi_sama7g5_find_mode(op) < 0)
return false;