Merge 5.4-rc5 into driver-core-next
We want the sysfs fix in here as well to build on top of. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -2895,8 +2895,12 @@ static int sci_init_single(struct platform_device *dev,
|
||||
port->mapbase = res->start;
|
||||
sci_port->reg_size = resource_size(res);
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(sci_port->irqs); ++i)
|
||||
sci_port->irqs[i] = platform_get_irq(dev, i);
|
||||
for (i = 0; i < ARRAY_SIZE(sci_port->irqs); ++i) {
|
||||
if (i)
|
||||
sci_port->irqs[i] = platform_get_irq_optional(dev, i);
|
||||
else
|
||||
sci_port->irqs[i] = platform_get_irq(dev, i);
|
||||
}
|
||||
|
||||
/* The SCI generates several interrupts. They can be muxed together or
|
||||
* connected to different interrupt lines. In the muxed case only one
|
||||
|
Reference in New Issue
Block a user