Re: [PATCH v0 01/15] handsfree-audio: Add card driver

2013-03-14 Thread Frederic Danis
Hello Denis, On 13/03/2013 18:46, Denis Kenzior wrote: Hi Fred, +struct ofono_handsfree_card_driver { + int (*probe) (struct ofono_handsfree_card *card, void *data); + void (*remove) (struct ofono_handsfree_card *card); + int (*audio_connect) (const char *remote, const char *local); +}; If

Re: [PATCH v0 01/15] handsfree-audio: Add card driver

2013-03-13 Thread Frederic Danis
Hello Claudio, On 12/03/2013 13:41, Claudio Takahasi wrote: This patch adds a new handsfree audio driver abstration to allow implementing the connect callbacks and other potential functions specific of each HFP profile version. This approach also avoids including dependency of hfpmodem in

Re: [PATCH v0 01/15] handsfree-audio: Add card driver

2013-03-13 Thread Denis Kenzior
Hi Fred, +struct ofono_handsfree_card_driver { + int (*probe) (struct ofono_handsfree_card *card, void *data); + void (*remove) (struct ofono_handsfree_card *card); + int (*audio_connect) (const char *remote, const char *local); +}; If I understand correctly this will be used by both

[PATCH v0 01/15] handsfree-audio: Add card driver

2013-03-12 Thread Claudio Takahasi
This patch adds a new handsfree audio driver abstration to allow implementing the connect callbacks and other potential functions specific of each HFP profile version. This approach also avoids including dependency of hfpmodem in handsfree-audio, keeping the service level handling inside the