[U-Boot] [PATCH 2/5 v2] serial: serial-uclass: Use force parameter in stdio_deregister_dev()

Bin Meng bmeng.cn at gmail.com
Tue May 9 04:28:14 UTC 2017


On Sat, Apr 29, 2017 at 8:26 AM, Simon Glass <sjg at chromium.org> wrote:
> On 24 April 2017 at 01:48, Stefan Roese <sr at denx.de> wrote:
>> On my x86 platform I've noticed, that calling dm_uninit() or the new
>> function dm_remove_devices_flags() does not remove the desired device at
>> all. Debugging showed, that the serial uclass returns -EPERM in
>> serial_pre_remove(). This patch sets the force parameter when calling
>> stdio_deregister_dev() resulting in a removal of the device.
>>
>> Signed-off-by: Stefan Roese <sr at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Bin Meng <bmeng.cn at gmail.com>
>> ---
>> v2:
>> - New patch
>>
>>  drivers/serial/serial-uclass.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list