diff options
| author | Kyle Nieman <kyle.nieman@fii-na.com> | 2022-10-20 17:33:08 +0300 |
|---|---|---|
| committer | Vivekanand Veeracholan <vveerach@google.com> | 2023-03-02 04:02:02 +0300 |
| commit | 8fae1c8ea9c2645c10f4e9bc19c9d43e660a4315 (patch) | |
| tree | 622afe4a47698beb11346959cc415dbee2a9c898 /meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.6.bb | |
| parent | 70d6a28404bf98d5b209f67fe3dcc5b78d1ecc44 (diff) | |
| download | openbmc-8fae1c8ea9c2645c10f4e9bc19c9d43e660a4315.tar.xz | |
meta-fii: meta-mori: Fix mori-lib.sh gpio functions
The functions in mori-lib.sh return the wrong values for get_gpio_num
and get_gpio_ctrl. get_gpio_num is not prepared to handle a device that
has more than 1 gpiobank associated with it. get_gpio_ctrl is dependent
on get_gpio_num to retrieve the correct identifying number for the gpio,
and the path location of the gpio state differs for gpios added by some
devices compared to the norm. mori-lib.sh is modify to account for these
differences.
Tested: I ran on real machine and checked that a gpio added by each type
of device is capable of being read with get_gpio_ctrl without error.
Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
Change-Id: I212ae4f14bbb57b9643befd0aadd8ac5ef4726da
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.6.bb')
0 files changed, 0 insertions, 0 deletions
