]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] SPI: busnum == 0 needs to work
authorDavid Brownell <david-b@pacbell.net>
Mon, 3 Apr 2006 22:49:04 +0000 (15:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 May 2006 21:33:57 +0000 (14:33 -0700)
commita020ed7521a9737bcf3e34eb880867c60c3c68d0
tree52941e00b05df6c1bfe228fd193fdb09cf963d15
parentccf77cc4af5b048e20cfd9327fcc286cb69c34cc
[PATCH] SPI: busnum == 0 needs to work

We need to be able to have a "SPI bus 0" matching chip numbering; but
that number was wrongly used to flag dynamic allocation of a bus number.

This patch resolves that issue; now negative numbers trigger dynamic alloc.

It also updates the how-to-write-a-controller-driver overview to mention
this stuff.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/spi/spi-summary
drivers/spi/spi.c
include/linux/spi/spi.h