aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-dwc2.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-07 16:26:12 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-15 16:58:46 +0100
commit2e0b925a341ddaa4be577542c74aa19b992215c0 (patch)
tree2262e31d0733719a122233524cd560b766429080 /hw/usb/hcd-dwc2.h
parent7188dfcda239ff2460fe8b0994e22e4b3a21dc17 (diff)
downloadqemu-2e0b925a341ddaa4be577542c74aa19b992215c0.zip
qemu-2e0b925a341ddaa4be577542c74aa19b992215c0.tar.gz
qemu-2e0b925a341ddaa4be577542c74aa19b992215c0.tar.bz2
hw/rx/rx62n: Only call qdev_get_gpio_in() when necessary
Instead of filling an array of all the possible IRQs, only call qdev_get_gpio_in() when an IRQ is used. Remove the array from RX62NState. Doing so we avoid calling qdev_get_gpio_in() on an unrealized device. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240213130341.1793-4-philmd@linaro.org>
Diffstat (limited to 'hw/usb/hcd-dwc2.h')
0 files changed, 0 insertions, 0 deletions