public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] Free ALSA seq resources in midi_device_remove()
@ 2021-11-01 13:49 Jacek Konieczny
  2021-11-01 13:49 ` [PATCH BlueZ 1/1] " Jacek Konieczny
  0 siblings, 1 reply; 4+ messages in thread
From: Jacek Konieczny @ 2021-11-01 13:49 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jacek Konieczny


I am having problem connecting via Bluetooth LE MID to my VOX Adio Air GT
guitar amplifier. I was not able to debug the connection problem yet,
but there was a bigger problem on hand: due to constant
connecting/disconnecting ALSA seq resources were leaking until
bluetoothd hung and ALSA backend crashed.

I have described a bit more in the github issue: https://github.com/bluez/bluez/issues/225

I was able to fix the leak with the following patch. I am not sure if
that is the right way to do this, though. As the relation between
midi_disconnect() and midi_device_remove() functions is not clear to me,
I have just copied some of the cleanup code from one to the other.


Jacek Konieczny (1):
  Free ALSA seq resources in midi_device_remove()

 profiles/midi/midi.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.25.1


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

end of thread, other threads:[~2021-11-04  0:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-01 13:49 [PATCH BlueZ 0/1] Free ALSA seq resources in midi_device_remove() Jacek Konieczny
2021-11-01 13:49 ` [PATCH BlueZ 1/1] " Jacek Konieczny
2021-11-01 14:35   ` bluez.test.bot
2021-11-04  0:39     ` Luiz Augusto von Dentz

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