From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rajeev kumar Subject: Re: [PATCH] i2c-designware: Change readl to readw and writel to writew Date: Mon, 24 Oct 2011 15:27:20 +0530 Message-ID: <4EA53680.4040401@st.com> References: <1319430293-2624-1-git-send-email-rajeev-dlh.kumar@st.com> <20111024050308.GA26649@sapphire.tkos.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111024050308.GA26649-MwjkAAnuF3khR1HGirfZ1z4kX+cae0hd@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Baruch Siach Cc: Shinya Kuribayashi , "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Shiraz HASHIM , Viresh KUMAR , Bhupesh SHARMA , Pratyush ANAND , Vipin KUMAR , Deepak SIKRI , Amit VIRDI , Vipul Kumar SAMAR , Armando VISCONTI List-Id: linux-i2c@vger.kernel.org Hello Baruch On 10/24/2011 10:33 AM, Baruch Siach wrote: > Hi Rajeev, > > On Mon, Oct 24, 2011 at 09:54:53AM +0530, Rajeev Kumar wrote: >> Since I2C designware registers are 16 bit wide and so we should use >> readw/writew. >> >> Signed-off-by: Rajeev Kumar >> --- > > For completeness I think you should also change the width of written/read > values, e.g. ic_con, hcnt, lcnt. > > I don't have hardware to test these changes though. Shinya, can you test this? > > baruch > Good catch I will circulate patch v2 for this. ~Regards Rajeev