From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Vivek Gautam <gautamvivek1987@gmail.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>,
Vivek Gautam <gautam.vivek@samsung.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Linux USB Mailing List <linux-usb@vger.kernel.org>,
andrew.kim@intel.com
Subject: Re: [PATCHv4 2/6] phy: improved lookup method
Date: Mon, 17 Nov 2014 17:40:28 +0200 [thread overview]
Message-ID: <20141117154028.GD7512@kuha.fi.intel.com> (raw)
In-Reply-To: <CAFp+6iHta15CuBbsoQxEo2xr5GyXDgXQ=cg_Q_vOSC7akX0Vcw@mail.gmail.com>
On Thu, Nov 13, 2014 at 07:03:01PM +0530, Vivek Gautam wrote:
> How about adding the change in attached patch [1] on top of this patch.
> Just introduced the phy pointer in "phy_lookup" structure, and
> modified phy_find() accordingly.
I would be fine if we used the phy pointer to match, but if we have
the pointer to the phy in the lookup, then I would say we need to
remove the phy_name member.
Otherwise we would have to support two ways of finding the lookups
(one for the "static" lookups where we match to the phy_name and other
where we match to the pointer). That means we will also not be able to
create "static" lookups, but those would be only needed if we wanted to
create them in board files. I don't think there will ever be need to
create the lookups in board files, so I'm more then happy to remove
the static way of creating the lookups.
Kishon, if you are OK with this change, I'll prepare new version of
this set and use the idea. Vivek, you'll get the credit for it.
Thanks!
--
heikki
next prev parent reply other threads:[~2014-11-17 15:40 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-17 14:39 [PATCHv4 0/6] phy: simplified phy lookup Heikki Krogerus
2014-10-17 14:39 ` [PATCHv4 1/6] phy: safer to_phy() macro Heikki Krogerus
2014-10-17 15:31 ` Felipe Balbi
2014-10-17 14:39 ` [PATCHv4 2/6] phy: improved lookup method Heikki Krogerus
2014-10-31 12:33 ` Vivek Gautam
2014-11-11 6:42 ` Kishon Vijay Abraham I
2014-11-11 8:37 ` Vivek Gautam
2014-11-11 8:50 ` Kishon Vijay Abraham I
2014-11-11 8:53 ` Vivek Gautam
2014-11-13 13:33 ` Vivek Gautam
2014-11-14 14:15 ` Heikki Krogerus
2014-11-17 12:08 ` Vivek Gautam
2014-11-17 15:40 ` Heikki Krogerus [this message]
2014-11-18 5:19 ` Kishon Vijay Abraham I
2014-11-18 15:36 ` Heikki Krogerus
2014-11-19 5:33 ` Kishon Vijay Abraham I
2014-11-19 6:12 ` Kishon Vijay Abraham I
2014-10-17 14:39 ` [PATCHv4 3/6] arm: omap3: twl: use the new lookup method with usb phy Heikki Krogerus
2014-11-03 21:26 ` Tony Lindgren
2014-10-17 14:39 ` [PATCHv4 4/6] phy: remove the old lookup method Heikki Krogerus
2014-10-17 14:39 ` [PATCHv4 5/6] base: platform: name the device already during allocation Heikki Krogerus
2014-10-17 14:39 ` [PATCHv4 6/6] usb: dwc3: host: convey the PHYs to xhci Heikki Krogerus
2014-11-06 7:25 ` Kishon Vijay Abraham I
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=20141117154028.GD7512@kuha.fi.intel.com \
--to=heikki.krogerus@linux.intel.com \
--cc=andrew.kim@intel.com \
--cc=gautam.vivek@samsung.com \
--cc=gautamvivek1987@gmail.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.