summaryrefslogtreecommitdiff
path: root/arch/m68k/amiga
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-12 22:28:24 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-12 22:56:54 (GMT)
commit8856a7d6b7c39eece126f23c6cdbd11ff2218d6f (patch)
tree90287af8761178fac5bb1734477b4a7b3fc5698c /arch/m68k/amiga
parent9800ee6f50a3b94181d4df57542b9379e331decb (diff)
downloadlinux-8856a7d6b7c39eece126f23c6cdbd11ff2218d6f.tar.xz
serial: sh-sci: Make probe fail for ports that exceed the maximum count
The driver supports a maximum number of ports configurable at compile time. Make sure the probe() method fails when registering a port that exceeds the maximum instead of returning success without registering the port. This fixes a crash at system suspend time, when the driver tried to suspend a non-registered port using the UART core. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m68k/amiga')
0 files changed, 0 insertions, 0 deletions