diff options
author | Vadim Fedorenko <vadfed@meta.com> | 2023-03-09 02:54:21 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-10 21:20:53 -0800 |
commit | 939a3f2a76e3216253b0a596b67ce9bd9ff6af51 (patch) | |
tree | ab90c2c13675120076275fb84044bd7d34b9e647 | |
parent | 2af560e5a5d172e8e4680cc6ba2cf924850522f2 (diff) | |
download | linux-stable-939a3f2a76e3216253b0a596b67ce9bd9ff6af51.tar.gz linux-stable-939a3f2a76e3216253b0a596b67ce9bd9ff6af51.tar.bz2 linux-stable-939a3f2a76e3216253b0a596b67ce9bd9ff6af51.zip |
ptp_ocp: add force_irq to xilinx_spi configuration
Flashing firmware via devlink flash was failing on PTP OCP devices
because it is using Quad SPI mode, but the driver was not properly
behaving. With force_irq flag landed it now can be fixed.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Link: https://lore.kernel.org/r/20230309105421.2953451-1-vadfed@meta.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/ptp/ptp_ocp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ptp/ptp_ocp.c b/drivers/ptp/ptp_ocp.c index 4bbaccd543ad..2b63f3487645 100644 --- a/drivers/ptp/ptp_ocp.c +++ b/drivers/ptp/ptp_ocp.c @@ -662,6 +662,7 @@ static struct ocp_resource ocp_fb_resource[] = { .num_chipselect = 1, .bits_per_word = 8, .num_devices = 1, + .force_irq = true, .devices = &(struct spi_board_info) { .modalias = "spi-nor", }, |