linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: Fix multi probing with overlays
@ 2015-11-30 14:28 Geert Uytterhoeven
       [not found] ` <1448893687-9159-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-11-30 14:28 UTC (permalink / raw)
  To: Mark Brown, Pantelis Antoniou
  Cc: Michael Fiore, linux-spi-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven

	Hi Mark, Pantelis,

This patch series fixes the issue where an SPI slave device is
registered twice when loading a DT overlay that enables or adds an SPI
master with a populated SPI bus:

    spi_sh_msiof e6e10000.spi: chipselect 0 already in use
    spi_master spi2: spi_device register error /spi@e6e10000/spidev@0
    of_spi_notify: failed to create for '/spi@e6e10000/spidev@0'

The approach followed is similar to what's currently done on i2c, as
suggested by Mark.

Thanks!

Geert Uytterhoeven (2):
  spi: Uninline spi_unregister_device()
  spi: Mark instantiated device nodes with OF_POPULATE

 drivers/spi/spi.c       | 29 +++++++++++++++++++++++++++++
 include/linux/spi/spi.h |  7 +------
 2 files changed, 30 insertions(+), 6 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-12-01 23:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30 14:28 [PATCH 0/2] spi: Fix multi probing with overlays Geert Uytterhoeven
     [not found] ` <1448893687-9159-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-11-30 14:28   ` [PATCH 1/2] spi: Uninline spi_unregister_device() Geert Uytterhoeven
     [not found]     ` <1448893687-9159-2-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-12-01 23:00       ` Applied "spi: Uninline spi_unregister_device()" to the spi tree Mark Brown
2015-11-30 14:28   ` [PATCH 2/2] spi: Mark instantiated device nodes with OF_POPULATE Geert Uytterhoeven
     [not found]     ` <1448893687-9159-3-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-12-01 23:00       ` Applied "spi: Mark instantiated device nodes with OF_POPULATE" to the spi tree Mark Brown

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).