audk/MdeModulePkg/Bus/Pci/PciSioSerialDxe
Ruiyu Ni 4ab04a72f5 MdeModulePkg/PciSioSerial: Fix a bug that wrongly produces 2 UARTs
When PciSioSerial is firstly started with a non-NULL remaining
device path, the UART instance is created using the parameters
specified in the remaining device path. Later when the driver
is started again on the same UART controller with NULL remaining
device path, the correct logic is to directly return SUCCESS
instead of current buggy implementation which wrongly produces
another UART using the default parameters.

The bug causes two UARTs are created when the UART is configured
in 57600 baud rate.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
2016-11-10 10:09:13 +08:00
..
ComponentName.c MdeModulePkg/PciSioSerialDxe: Remove unused global variables 2016-09-28 16:17:33 +08:00
PciSioSerialDxe.inf MdeModulePkg: Add PciSioSerialDxe driver 2015-12-10 02:47:16 +00:00
PciSioSerialDxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PciSioSerialDxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Serial.c MdeModulePkg/PciSioSerial: Fix a bug that wrongly produces 2 UARTs 2016-11-10 10:09:13 +08:00
Serial.h MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
SerialIo.c MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00