netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next] ptp_ocp: add force_irq to xilinx_spi configuration
@ 2023-03-06 15:57 Vadim Fedorenko
  2023-03-06 18:17 ` kernel test robot
  2023-03-06 20:49 ` Jakub Kicinski
  0 siblings, 2 replies; 9+ messages in thread
From: Vadim Fedorenko @ 2023-03-06 15:57 UTC (permalink / raw)
  To: Jakub Kicinski, Jonathan Lemon
  Cc: Vadim Fedorenko, Richard Cochran, Vadim Fedorenko, netdev

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>
---
 drivers/ptp/ptp_ocp.c | 1 +
 1 file changed, 1 insertion(+)

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",
 				},
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-09  2:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 15:57 [net-next] ptp_ocp: add force_irq to xilinx_spi configuration Vadim Fedorenko
2023-03-06 18:17 ` kernel test robot
2023-03-06 20:49 ` Jakub Kicinski
2023-03-06 21:10   ` Vadim Fedorenko
2023-03-06 21:20     ` Jakub Kicinski
2023-03-06 21:22       ` Jakub Kicinski
2023-03-06 22:47         ` Vadim Fedorenko
2023-03-08 19:01         ` Vadim Fedorenko
2023-03-09  2:25           ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).