Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 00/16] audio: Use device/adapter reference instead of bdaddr_t
@ 2012-12-12 10:27 Szymon Janc
  2012-12-12 10:27 ` [PATCH 01/16] a2dp: Remove bogus '\' at the end of line Szymon Janc
                   ` (16 more replies)
  0 siblings, 17 replies; 24+ messages in thread
From: Szymon Janc @ 2012-12-12 10:27 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

This remove use of bdaddr_t in favour of using references to struct btd_adapter
and struct btd_device.

note:
This patch triggers a bug introduced when a2dp was splitted into two
btd_profile resulting in a2dp_unregister() is never called (so adapter
ref is not dropped properly). This is not fixed in this patch set.

Szymon Janc (16):
  a2dp: Remove bogus '\' at the end of line
  a2dp: Remove useless return
  a2dp: Remove not used macros definitions
  a2dp: Convert sink/source register to accept btd_adapter
  a2dp: Convert a2dp_unregister to accept btd_adapter
  media: Convert register/unregister to accept btd_adapter
  a2dp: Convert a2dp_add_sep to accept struct btd_adapter
  avdtp: Use refs to adapter and device instead of bdaddr_t
  a2dp: Use btd_adapter ref in a2dp_server instead of bdaddr_t
  avrcp: Convert to accept btd_adapter instead of bdaddr_t
  avctp: Convert register/unregister to accept btd_adapter
  avdtp: Replace avdtp_get_peers with adapter and device getters
  audio: Use manager_get_device to get device object
  audio: Make manager_get_device accept btd_device
  audio: Simplify manager_find_device
  avctp: Remove double looking for audio device

 profiles/audio/a2dp.c    |  75 +++++++++++---------------
 profiles/audio/a2dp.h    |   8 +--
 profiles/audio/avctp.c   |  96 +++++++++++++++-------------------
 profiles/audio/avctp.h   |   4 +-
 profiles/audio/avdtp.c   | 119 ++++++++++++++++++------------------------
 profiles/audio/avdtp.h   |  10 ++--
 profiles/audio/avrcp.c   |  37 ++++++-------
 profiles/audio/avrcp.h   |   6 +--
 profiles/audio/manager.c | 133 +++++++++--------------------------------------
 profiles/audio/manager.h |  17 +-----
 profiles/audio/media.c   |  35 ++++++-------
 profiles/audio/media.h   |   4 +-
 profiles/audio/sink.c    |   5 +-
 profiles/audio/source.c  |   5 +-
 14 files changed, 206 insertions(+), 348 deletions(-)

-- 
1.8.0


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

end of thread, other threads:[~2012-12-19 12:16 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 10:27 [PATCH 00/16] audio: Use device/adapter reference instead of bdaddr_t Szymon Janc
2012-12-12 10:27 ` [PATCH 01/16] a2dp: Remove bogus '\' at the end of line Szymon Janc
2012-12-12 10:27 ` [PATCH 02/16] a2dp: Remove useless return Szymon Janc
2012-12-12 10:27 ` [PATCH 03/16] a2dp: Remove not used macros definitions Szymon Janc
2012-12-12 10:27 ` [PATCH 04/16] a2dp: Convert sink/source register to accept btd_adapter Szymon Janc
2012-12-12 10:27 ` [PATCH 05/16] a2dp: Convert a2dp_unregister " Szymon Janc
2012-12-12 10:27 ` [PATCH 06/16] media: Convert register/unregister " Szymon Janc
2012-12-12 10:27 ` [PATCH 07/16] a2dp: Convert a2dp_add_sep to accept struct btd_adapter Szymon Janc
2012-12-12 10:28 ` [PATCH 08/16] avdtp: Use refs to adapter and device instead of bdaddr_t Szymon Janc
2012-12-12 10:28 ` [PATCH 09/16] a2dp: Use btd_adapter ref in a2dp_server " Szymon Janc
2012-12-12 10:28 ` [PATCH 10/16] avrcp: Convert to accept btd_adapter " Szymon Janc
2012-12-12 10:28 ` [PATCH 11/16] avctp: Convert register/unregister to accept btd_adapter Szymon Janc
2012-12-12 12:52   ` Anderson Lizardo
2012-12-12 12:55     ` Anderson Lizardo
2012-12-12 13:03       ` Anderson Lizardo
2012-12-12 13:05         ` Szymon Janc
2012-12-12 10:28 ` [PATCH 12/16] avdtp: Replace avdtp_get_peers with adapter and device getters Szymon Janc
2012-12-12 10:28 ` [PATCH 13/16] audio: Use manager_get_device to get device object Szymon Janc
2012-12-12 10:28 ` [PATCH 14/16] audio: Make manager_get_device accept btd_device Szymon Janc
2012-12-12 10:28 ` [PATCH 15/16] audio: Simplify manager_find_device Szymon Janc
2012-12-12 10:28 ` [PATCH 16/16] avctp: Remove double looking for audio device Szymon Janc
2012-12-12 13:19   ` Anderson Lizardo
2012-12-12 13:24     ` Szymon Janc
2012-12-19 12:16 ` [PATCH 00/16] audio: Use device/adapter reference instead of bdaddr_t 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