diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-11-07 20:34:03 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-11-10 11:03:48 +0000 |
| commit | 44cbf34975b81ac40e715cd3ee488a114d7b7d29 (patch) | |
| tree | 52671b6822d80f3d5de859fabbe64cb6304d2d75 /hw/ssi/imx_spi.c | |
| parent | 498661dd22a1b60461e41d256a7197fea3c4ff0e (diff) | |
| download | focaccia-qemu-44cbf34975b81ac40e715cd3ee488a114d7b7d29.tar.gz focaccia-qemu-44cbf34975b81ac40e715cd3ee488a114d7b7d29.zip | |
hw/arm/musicpal: Only use qdev_get_gpio_in() when necessary
We don't need to fill the full pic[] array if we only use few of the interrupt lines. Directly call qdev_get_gpio_in() when necessary. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201107193403.436146-6-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/ssi/imx_spi.c')
0 files changed, 0 insertions, 0 deletions