Axel Lin
f7da0bdbf5
gpio: msic: Fix calculating register address in msic_gpio_to_oreg()
...
In the case offset is 20 ... 23, the equation to get the register should be:
INTEL_MSIC_GPIO1HV0CTLO - offset + 20
With above equation, we can get below mapping between offset and the register:
offset is 20: INTEL_MSIC_GPIO1HV0CTLO
offset is 21: INTEL_MSIC_GPIO1HV1CTLO
offset is 22: INTEL_MSIC_GPIO1HV2CTLO
offset is 23: INTEL_MSIC_GPIO1HV3CTLO
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-08-05 01:09:50 +02:00
..
2012-07-30 11:54:53 -07:00
2012-07-27 15:14:26 -07:00
2012-08-02 11:50:24 -07:00
2012-08-01 10:26:23 -07:00
2012-07-27 11:15:03 -04:00
2012-08-01 09:06:47 -07:00
2012-07-31 19:07:42 -07:00
2012-07-30 17:25:13 -07:00
2012-07-23 16:31:31 -07:00
2012-07-30 09:45:53 -07:00
2012-07-26 14:28:55 -07:00
2012-07-31 19:07:42 -07:00
2012-08-02 11:45:42 -07:00
2012-07-29 21:11:05 -03:00
2012-07-30 12:41:17 -07:00
2012-07-30 09:32:39 -07:00
2012-07-31 19:07:42 -07:00
2012-08-05 01:09:50 +02:00
2012-07-30 10:06:23 -07:00
2012-07-31 18:47:44 -07:00
2012-07-31 19:07:42 -07:00
2012-07-30 10:10:26 -07:00
2012-07-31 19:07:42 -07:00
2012-07-26 14:28:55 -07:00
2012-07-30 07:47:27 -07:00
2012-07-31 19:07:42 -07:00
2012-07-24 16:24:11 -07:00
2012-07-29 23:18:30 -07:00
2012-07-27 08:16:07 +08:00
2012-08-02 11:34:40 -07:00
2012-07-31 18:47:44 -07:00
2012-07-30 17:25:17 -07:00
2012-07-31 19:07:42 -07:00
2012-07-30 17:25:34 -07:00
2012-08-01 16:41:07 -07:00
2012-08-01 16:41:07 -07:00
2012-08-02 11:52:39 -07:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 16:17:07 -07:00
2012-07-27 15:14:26 -07:00
2012-07-24 14:05:46 -07:00
2012-07-31 23:27:31 -04:00
2012-08-02 11:52:39 -07:00
2012-07-30 17:25:21 -07:00
2012-07-26 07:45:20 +02:00
2012-07-31 00:51:09 +02:00
2012-07-26 16:19:08 -07:00
2012-07-26 16:19:08 -07:00
2012-07-31 19:25:39 -07:00
2012-07-26 18:09:01 -07:00
2012-08-01 09:02:41 -07:00
2012-08-01 17:14:52 +09:00
2012-08-01 16:41:07 -07:00
2012-08-02 11:52:39 -07:00
2012-08-01 10:26:23 -07:00
2012-07-31 18:08:25 -07:00
2012-08-01 13:48:54 +09:00
2012-08-01 10:26:23 -07:00
2012-07-31 08:16:24 -06:00
2012-07-22 01:22:23 +03:00
2012-08-01 10:45:12 -07:00
2012-07-26 11:25:33 -07:00
2012-08-02 11:50:24 -07:00
2012-07-24 16:17:07 -07:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00