Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:34468 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758Ab3GBUPS (ORCPT ); Tue, 2 Jul 2013 16:15:18 -0400 Message-ID: <1372796084.21065.85.camel@cumari.coelho.fi> (sfid-20130702_221540_422873_EC05EB35) Subject: Re: [PATCH v2 4/9] wl12xx: use frequency instead of enumerations for pdata clocks From: Luciano Coelho To: CC: , , , , , , , , , , , Date: Tue, 2 Jul 2013 23:14:44 +0300 In-Reply-To: <20130702153113.GF7013@arwen.pp.htv.fi> References: <1372776948-24840-1-git-send-email-coelho@ti.com> <1372776948-24840-5-git-send-email-coelho@ti.com> <20130702153113.GF7013@arwen.pp.htv.fi> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2013-07-02 at 18:31 +0300, Felipe Balbi wrote: > Hi, > > On Tue, Jul 02, 2013 at 05:55:43PM +0300, Luciano Coelho wrote: > > diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c > > index 1c627da..903dcb3 100644 > > --- a/drivers/net/wireless/ti/wl12xx/main.c > > +++ b/drivers/net/wireless/ti/wl12xx/main.c > > @@ -1701,6 +1701,42 @@ static struct ieee80211_sta_ht_cap wl12xx_ht_cap = { > > }, > > }; > > > > +static struct wl12xx_clock wl12xx_refclock_table[] = { > > const > > > + { 19200000, false, WL12XX_REFCLOCK_19 }, > > + { 26000000, false, WL12XX_REFCLOCK_26 }, > > + { 26000000, true, WL12XX_REFCLOCK_26_XTAL }, > > + { 38400000, false, WL12XX_REFCLOCK_38 }, > > + { 38400000, true, WL12XX_REFCLOCK_38_XTAL }, > > + { 52000000, false, WL12XX_REFCLOCK_52 }, > > + { 0, false, 0 } > > +}; > > + > > +static struct wl12xx_clock wl12xx_tcxoclock_table[] = { > > const Duh! Thanks for noticing it. -- Luca.