Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Torokhov
Date: Friday, September 3, 2010 - 9:34 am

Hi Hemanth,

On Fri, Sep 03, 2010 at 04:02:11PM +0530, Hemanth V wrote:

That would make us sleep for CMA3000_SETDELAY even in case of failure...
... But that should be OK.


You have a check for data->client->irq != 0 and finish probe() with
success in case it is 0. The question is what is the use of the
device/driver combo in case when data->client->irq == 0?

-- 
Dmitry
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver, Jonathan Cameron, (Fri May 21, 4:57 am)
Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver, Dmitry Torokhov, (Sun Aug 29, 11:24 am)
Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver, Dmitry Torokhov, (Sun Aug 29, 11:49 am)
Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1 ..., Jonathan Cameron, (Mon Aug 30, 10:41 am)
Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1 ..., Mohamed Ikbel Boulabiar, (Tue Aug 31, 10:24 am)
Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1 ..., Jonathan Cameron, (Tue Aug 31, 11:03 am)
Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1 ..., Jonathan Cameron, (Tue Aug 31, 11:14 am)
Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1 ..., Jonathan Cameron, (Tue Aug 31, 11:20 am)
Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver, Dmitry Torokhov, (Fri Sep 3, 9:34 am)