From: David Herrmann <hidden> Date: 2012-01-07 14:19:37
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl() handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_ll.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: David Herrmann <hidden> Date: 2012-01-07 14:19:38
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_h4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: David Herrmann <hidden> Date: 2012-01-07 14:19:39
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_bcsp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: David Herrmann <hidden> Date: 2012-01-07 14:19:40
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_ath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: David Herrmann <hidden> Date: 2012-01-07 14:19:41
We currently leak the driver info structure if dtl1_config fails. If we add a
kfree() to dtl1_release to fix this, then dtl1_release and dtl1_detach are
identical so this merges both functions.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/dtl1_cs.c | 20 +++-----------------
1 files changed, 3 insertions(+), 17 deletions(-)
@@ -619,21 +616,10 @@ static int dtl1_config(struct pcmcia_device *link)return0;failed:-dtl1_release(link);+dtl1_detach(link);return-ENODEV;}--staticvoiddtl1_release(structpcmcia_device*link)-{-dtl1_info_t*info=link->priv;--dtl1_close(info);--pcmcia_disable_device(link);-}--staticconststructpcmcia_device_iddtl1_ids[]={PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones","DTL-1",0xe1bfdd64,0xe168480d),PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones","DTL-4",0xe1bfdd64,0x9102bc82),
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl() handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_ll.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_h4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_bcsp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_ath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
We currently leak the driver info structure if dtl1_config fails. If we add a
kfree() to dtl1_release to fix this, then dtl1_release and dtl1_detach are
identical so this merges both functions.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/dtl1_cs.c | 20 +++-----------------
1 files changed, 3 insertions(+), 17 deletions(-)
From: Johan Hedberg <hidden> Date: 2012-01-08 20:34:23
Hi David,
On Sat, Jan 07, 2012, David Herrmann wrote:
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl() handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_ll.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: Johan Hedberg <hidden> Date: 2012-01-08 20:36:01
Hi David,
On Sat, Jan 07, 2012, David Herrmann wrote:
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_h4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: Johan Hedberg <hidden> Date: 2012-01-08 20:36:24
Hi David,
On Sat, Jan 07, 2012, David Herrmann wrote:
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_bcsp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: Johan Hedberg <hidden> Date: 2012-01-08 20:36:48
Hi David,
On Sat, Jan 07, 2012, David Herrmann wrote:
The uart_proto open() callback is not called in atomic context so we can safely
sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl-handler
and therefore can sleep.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/hci_ath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: Johan Hedberg <hidden> Date: 2012-01-08 20:37:12
Hi David,
On Sat, Jan 07, 2012, David Herrmann wrote:
We currently leak the driver info structure if dtl1_config fails. If we add a
kfree() to dtl1_release to fix this, then dtl1_release and dtl1_detach are
identical so this merges both functions.
Signed-off-by: David Herrmann <redacted>
---
drivers/bluetooth/dtl1_cs.c | 20 +++-----------------
1 files changed, 3 insertions(+), 17 deletions(-)