Evgeny,
Any comments, please?
Fabio Estevam wrote:
> With the new i.mx clock framework the mxc_w1 clock is registered as:
>
> clk_register_clkdev(clk[owire_gate], NULL, "mxc_w1.0"
>
> So we do not need to pass "owire" string and can use NULL instead.
>
> While at it, also fix the clock error handling code.
>
> Signed-off-by: Fabio Estevam <[email protected]>
> -----
> Changes since v1:
> - Fix clock error handling
> drivers/w1/masters/mxc_w1.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c
> index 1cc61a7..960b362 100644
> --- a/drivers/w1/masters/mxc_w1.c
> +++ b/drivers/w1/masters/mxc_w1.c
> @@ -117,11 +117,11 @@ static int __devinit mxc_w1_probe(struct platform_device *pdev)
> if (!mdev)
> return -ENOMEM;
>
> - mdev->clk = clk_get(&pdev->dev, "owire");
> - if (!mdev->clk) {
> - err = -ENODEV;
> - goto failed_clk;
> - }
> + mdev->clk = clk_get(&pdev->dev, NULL);
> + if (IS_ERR(mdev->clk)) {
> + err = PTR_ERR(mdev->clk);
> + goto failed_clk;
> + }
>
> mdev->clkdiv = (clk_get_rate(mdev->clk) / 1000000) - 1;
>
On Mon, Oct 01, 2012 at 02:51:44PM -0300, Fabio Estevam ([email protected]) wrote:
> Evgeny,
>
> Any comments, please?
I have no objections per se, but I'm hardly an expert in imx clock
framework :)
Since it is only one patch in set of 3, I suppose it will be pushed
through different tree than w1. Feel free to add my ack.
Acked-by: Evgeniy Polyakov <[email protected]>
--
Evgeniy Polyakov
Sascha,
On Tue, Oct 2, 2012 at 2:32 AM, Evgeniy Polyakov <[email protected]> wrote:
> On Mon, Oct 01, 2012 at 02:51:44PM -0300, Fabio Estevam ([email protected]) wrote:
>> Evgeny,
>>
>> Any comments, please?
>
> I have no objections per se, but I'm hardly an expert in imx clock
> framework :)
>
> Since it is only one patch in set of 3, I suppose it will be pushed
> through different tree than w1. Feel free to add my ack.
>
> Acked-by: Evgeniy Polyakov <[email protected]>
Could this series go via your tree?
Regards,
Fabio Estevam
On Tue, Oct 02, 2012 at 10:04:19PM -0300, Fabio Estevam ([email protected]) wrote:
> > I have no objections per se, but I'm hardly an expert in imx clock
> > framework :)
> >
> > Since it is only one patch in set of 3, I suppose it will be pushed
> > through different tree than w1. Feel free to add my ack.
> >
> > Acked-by: Evgeniy Polyakov <[email protected]>
>
> Could this series go via your tree?
Please send it to Greg (added to CC), but I would like someone who knows
this platform (and not only w1 bits, which look good) to acknowledge changes,
feel free to add mine.
--
Evgeniy Polyakov
Hi Sascha,
On Wed, Oct 3, 2012 at 4:28 AM, Evgeniy Polyakov <[email protected]> wrote:
> On Tue, Oct 02, 2012 at 10:04:19PM -0300, Fabio Estevam ([email protected]) wrote:
>> > I have no objections per se, but I'm hardly an expert in imx clock
>> > framework :)
>> >
>> > Since it is only one patch in set of 3, I suppose it will be pushed
>> > through different tree than w1. Feel free to add my ack.
>> >
>> > Acked-by: Evgeniy Polyakov <[email protected]>
>>
>> Could this series go via your tree?
>
> Please send it to Greg (added to CC), but I would like someone who knows
> this platform (and not only w1 bits, which look good) to acknowledge changes,
> feel free to add mine.
Could you please ack this series?
Greg,
Should I re-send the patches with Evgeniy and Sascha's acks?
Thanks,
Fabio Estevam
On Sun, Nov 18, 2012 at 11:56:13PM -0200, Fabio Estevam wrote:
> Hi Sascha,
>
> On Wed, Oct 3, 2012 at 4:28 AM, Evgeniy Polyakov <[email protected]> wrote:
> > On Tue, Oct 02, 2012 at 10:04:19PM -0300, Fabio Estevam ([email protected]) wrote:
> >> > I have no objections per se, but I'm hardly an expert in imx clock
> >> > framework :)
> >> >
> >> > Since it is only one patch in set of 3, I suppose it will be pushed
> >> > through different tree than w1. Feel free to add my ack.
> >> >
> >> > Acked-by: Evgeniy Polyakov <[email protected]>
> >>
> >> Could this series go via your tree?
> >
> > Please send it to Greg (added to CC), but I would like someone who knows
> > this platform (and not only w1 bits, which look good) to acknowledge changes,
> > feel free to add mine.
>
> Could you please ack this series?
>
> Greg,
>
> Should I re-send the patches with Evgeniy and Sascha's acks?
Please do so, so that I can apply them to my tree.
thanks,
greg k-h