Messages in this thread |  | | | Date | Mon, 25 Jul 2011 16:59:54 +0300 | | From | Felipe Balbi <> | | Subject | Re: power: bq20z75: problem with optional battery detect gpio feature |
| |
On Mon, Jul 25, 2011 at 03:55:34PM +0200, Andrea Galbusera wrote: > Is the in-object feature really optional? > If battery_detect field in my bq20z75_platform_data structure is not > explicitly set, I suspect the driver ends up requesting an irq for the > GPIO number 0. This look indesirable.
set the gpio to -EINVAL. gpio 0 is a valid gpio number. Maybe we should remap zero to 1, 1 to 2 and so forth... Grant ?
-- balbi [unhandled content-type:application/pgp-signature] |  |