Re: [PATCH 1/1] Polled input device: Add closing indication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 12, 2009 at 11:23:57AM +0200, samu.p.onkalo@xxxxxxxxx wrote:
> >
> >Hi Samu,
> >
> >On Monday 12 October 2009 01:09:41 am Samu Onkalo wrote:
> >> When closing polled input device, call optional closing 
> >method to make 
> >> it possible to turn off the HW.
> >
> >What about open? How do you re-enable the device if it was 
> >closed and then reopened?
> >
> 
> flush is called when the device is reopened. Is it ok to use that?
> 

No, please have open() method that is called when you open the device.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux