Thread (6 messages) 6 messages, 2 authors, 2011-08-29

Re: [PATCH 2/3] bq24022: Keep track of gpio states

From: Mark Brown <hidden>
Date: 2011-08-29 09:18:07

On Sun, Aug 28, 2011 at 03:09:23PM +0200, Heiko Stübner wrote:
gpio_get_value is not definied for output-gpios and can therefore not be
used for the is_enabled and get_current_limit methods of the bq24022.

This patch introduces a private struct to keep track of the values set.
Acked-by: Mark Brown <redacted>

This also fixes the use of platform data after probe - platform data
should be able to be marked as initdata which may mean that the kernel
discards it after boot.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help