On Wed, Jun 13, 2012 at 12:28:23AM +0200, Laurent Pinchart wrote: > When probing fails, the driver must not try to cleanup resources that > have not been initialized. Fix this. On Wed, Jun 13, 2012 at 12:28:24AM +0200, Laurent Pinchart wrote: > 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. Both applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html