From 0ee7503dc706159c09a1fb7cbc2c943ab6f7474a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 26 Jun 2011 19:37:31 -0300 Subject: [PATCH] ub: updated to handle dynamically allocated SPI bus numbers --- ub | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ub b/ub index cc63775..cf9caf0 100755 --- a/ub +++ b/ub @@ -7,4 +7,5 @@ echo jz4740-mmc.0 >/sys/bus/platform/drivers/jz4740-mmc/unbind # AT86RF230 driver -echo spi2.0 >/sys/bus/spi/drivers/at86rf230/unbind +cd /sys/bus/spi/drivers/at86rf230 +echo spi*.0 >unbind