From: David Altobelli Date: Wed, 4 Feb 2009 23:11:58 +0000 (-0800) Subject: hpilo: open/close fix X-Git-Tag: v2.6.29-rc4~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c073b2db006ba9370be1eecc36a1be1d9ce31310;p=pandora-kernel.git hpilo: open/close fix The device can take a while to respond to an open/close request, so increase the time kernel will wait for response (1 ms to 10ms). Also, properly clean up a channel on a failed open, by calling the channel close routine. Just freeing the memory isn't sufficient, the device needs to be informed that the channel is no longer open, and the device memory cleared of references to freed dma buffer. Signed-off-by: David Altobelli Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed