On Wed, Aug 10, 2016 at 08:50:08AM +0000, First Light wrote: Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussion is being addressed. > But I found the dynamically assigned bus number is always -1.? > I have two spi buses, both get the -1 bus number. That shouldn't happen, if it does it's a bug - users should never see a negative bus number, the core should dynamically assign one if it is given a negative bus number. Can you check what happens in spi_register_master()? That's where the dynamic bus number should be being assigned.
Attachment:
signature.asc
Description: PGP signature