[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGS+omCGaCujKbhbf8vUwa0K26jGFHzYJc7m_cx3fUBcUpsO6A@mail.gmail.com>
Date: Sun, 6 May 2012 10:43:03 +0800
From: Daniel Kurtz <djkurtz@...omium.org>
To: Nick Dyer <nick.dyer@...ev.co.uk>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Henrik Rydberg <rydberg@...omail.se>,
Joonyoung Shim <jy0922.shim@...sung.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Benson Leung <bleung@...omium.org>,
Yufeng Shen <miletus@...omium.org>
Subject: Re: [PATCH 09/14 v3] Input: atmel_mxt_ts - refactor get info
On Sun, May 6, 2012 at 1:41 AM, Nick Dyer <nick.dyer@...ev.co.uk> wrote:
> Hi Daniel-
>
> Daniel Kurtz wrote:
>> - dev_info(&client->dev,
>> - "Family ID: %d Variant ID: %d Version: %d Build: %d\n",
>> - info->family_id, info->variant_id, info->version,
>> - info->build);
>> + dev_info(dev, "Family ID: %d Variant ID: %d Major.Minor.Build: %d.%d.%d\n",
>> + info->family_id, info->variant_id, info->version >> 4,
>> + info->version & 0xf, info->build);
>
> The canonical format for the Atmel firmware versions has the build number
> in hex, eg. 2.0.AA
>
> So it should be %d.%d.%02X
Nick,
Thanks! Will update. Or perhaps %u.%u.%02X ?
-Daniel
>
> cheers
>
> Nick
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists