Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] hciattach: bcm43xx: delay reset after firmware download
@ 2017-01-29 13:45 Baruch Siach
  2017-02-01 19:50 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2017-01-29 13:45 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Phil Elwell, Baruch Siach

The BCM43438 chip on the Raspberry Pi 3 board needs a delay after firmware
download for the setup to complete successfully.

Based on Yocto patch from Phil Elwell.
---
 tools/hciattach_bcm43xx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c
index 81f38cbbcf92..1140379d5cc4 100644
--- a/tools/hciattach_bcm43xx.c
+++ b/tools/hciattach_bcm43xx.c
@@ -380,6 +380,7 @@ int bcm43xx_init(int fd, int def_speed, int speed, struct termios *ti,
 			return -1;
 		}
 
+		sleep(1);
 		if (bcm43xx_reset(fd))
 			return -1;
 	}
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-01 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-29 13:45 [PATCH] hciattach: bcm43xx: delay reset after firmware download Baruch Siach
2017-02-01 19:50 ` Marcel Holtmann
2017-02-01 20:10   ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox