summaryrefslogtreecommitdiff
path: root/sock.h
AgeCommit message (Expand)AuthorFilesLines
2016-12-10sock: change type of verbose parameter to set_sock_qdisc_bypass()Tobias Klauser1-1/+4
2015-06-18sock: Add dgram socket creation.Daniel Borkmann1-0/+1
2015-05-06sock: Fix capturing extra packets from other devVadim Kochan1-1/+0
2013-12-12trafgen: take advantage of PACKET_QDISC_BYPASS sock optionJesper Dangaard Brouer1-0/+1
2013-12-11trafgen: speedup TX only path by avoiding kernel packet_rcv() callJesper Dangaard Brouer1-0/+1
2013-06-04sock: add socket management functionsDaniel Borkmann1-0/+17
n?h=nds-private-remove&id=1001354ca34179f3db924eb66672442a173147dc'>1001354ca34179f3db924eb66672442a173147dc (diff)
spi: mark device nodes only in case of successful instantiation
Instantiated SPI device nodes are marked with OF_POPULATE. This was introduced in bd6c164. On unloading, loaded device nodes will of course be unmarked. The problem are nodes that fail during initialisation: If a node fails, it won't be unloaded and hence not be unmarked. If a SPI driver module is unloaded and reloaded, it will skip nodes that failed before. Skip device nodes that are already populated and mark them only in case of success. Note that the same issue exists for I2C. Fixes: bd6c164 ("spi: Mark instantiated device nodes with OF_POPULATE") Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'Documentation')