"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "7e8b4c72344e0d904b0e3fa9fd2eb116f04b3d41"
spi: enable spi_board_info to be registered after spi_master
Currently spi_register_board_info() has to be called before its related spi_master be registered, otherwise these board info will be just ignored. This patch will remove this order limit, it adds a global spi master list like the existing global board info listr. Whenever a board info or a spi_master is registered, the spi master list or board info list will be scanned, and a new spi device will be created if there is a master-board info match. Signed-off-by:Feng Tang <feng.tang@intel.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
Loading
Please register or sign in to comment