aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorHolger Assmann <[email protected]>2020-08-13 15:27:57 +0000
committerGreg Kroah-Hartman <[email protected]>2020-08-18 11:32:28 +0000
commitfdf16d78941b4f380753053d229955baddd00712 (patch)
tree1817a0765c6a4f849d933982fbc6ee48c587b17e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentserial: pl011: Fix oops on -EPROBE_DEFER (diff)
downloadkernel-fdf16d78941b4f380753053d229955baddd00712.tar.gz
kernel-fdf16d78941b4f380753053d229955baddd00712.zip
serial: stm32: avoid kernel warning on absence of optional IRQ
stm32_init_port() of the stm32-usart may trigger a warning in platform_get_irq() when the device tree specifies no wakeup interrupt. The wakeup interrupt is usually a board-specific GPIO and the driver functions correctly in its absence. The mainline stm32mp151.dtsi does not specify it, so all mainline device trees trigger an unnecessary kernel warning. Use of platform_get_irq_optional() avoids this. Fixes: 2c58e56096dd ("serial: stm32: fix the get_irq error case") Signed-off-by: Holger Assmann <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions