From: Andreas WESTIN <andreas.westin@stericsson.com>
To: ofono@ofono.org
Subject: Re: [PATCH v2 2/3] udev: u8500 support and style fix
Date: Tue, 01 Feb 2011 16:55:42 +0100 [thread overview]
Message-ID: <4D482CFE.2060801@stericsson.com> (raw)
In-Reply-To: <1296574751.1520.267.camel@aeonflux>
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]
Hi Marcel,
Jessica is out of office.
On 2011-02-01 16:39, Marcel Holtmann wrote:
> Hi Jessica,
>
>> plugins/udev.c | 5 ++++-
>> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> so you wanna combine the udev rule change and the udev change together
> actually. They both belong together. The actual modem plugin driver is
> not related.
Ok, will correct.
>> diff --git a/plugins/udev.c b/plugins/udev.c
>> index ce1efe6..49b5eb8 100644
>> --- a/plugins/udev.c
>> +++ b/plugins/udev.c
>> @@ -185,7 +185,8 @@ static void add_hso(struct ofono_modem *modem,
>> devnode = udev_device_get_devnode(udev_device);
>>
>> if (g_str_has_suffix(type, "Application") == TRUE)
>> - ofono_modem_set_string(modem, APPLICATION_PORT, devnode);
>> + ofono_modem_set_string(modem, APPLICATION_PORT,
>> + devnode);
>
> What is this part doing here?
Style fix, should it be removed ?
>> else if (g_str_has_suffix(type, "Control") == TRUE)
>> ofono_modem_set_string(modem, CONTROL_PORT, devnode);
>> } else if (g_str_equal(subsystem, "net") == TRUE) {
>> @@ -636,6 +637,8 @@ done:
>> add_nokia(modem, udev_device);
>> else if (g_strcmp0(driver, "isiusb") == 0)
>> add_isi(modem, udev_device);
>> + else if (g_strcmp0(driver, "u8500") == 0)
>> + add_isi(modem, udev_device);
>> else if (g_strcmp0(driver, "n900") == 0)
>> add_isi(modem, udev_device);
>> else if (g_strcmp0(driver, "gobi") == 0)
>
Regards
Andreas
next prev parent reply other threads:[~2011-02-01 15:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 14:13 [PATCH v2 0/3] ISI modem version detection with plugin Jessica Nilsson
2011-02-01 14:13 ` [PATCH v2 1/3] u8500: add plugin for u8500 Jessica Nilsson
2011-02-01 15:41 ` Marcel Holtmann
2011-02-01 14:13 ` [PATCH v2 2/3] udev: u8500 support and style fix Jessica Nilsson
2011-02-01 15:39 ` Marcel Holtmann
2011-02-01 15:55 ` Andreas WESTIN [this message]
2011-02-01 16:12 ` Marcel Holtmann
2011-02-01 14:13 ` [PATCH v2 3/3] isimodem: header updates for ISI2.5 Jessica Nilsson
2011-02-01 15:43 ` Marcel Holtmann
2011-02-01 16:29 ` Andreas WESTIN
2011-02-01 19:32 ` Aki Niemi
2011-02-02 9:03 ` Andreas WESTIN
2011-02-02 13:03 ` Aki Niemi
2011-02-03 9:32 ` Andreas WESTIN
2011-02-04 9:05 ` Aki Niemi
2011-02-02 10:47 ` Marcel Holtmann
2011-02-08 15:16 ` Aki Niemi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D482CFE.2060801@stericsson.com \
--to=andreas.westin@stericsson.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox