diff options
author | Stefan Roese <sr@denx.de> | 2017-04-24 09:48:01 +0200 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-05-17 17:13:06 +0800 |
commit | e98856fcff5adc64689c3d5597b0a36d867eec8f (patch) | |
tree | 46c8a7659c1fb7018c00f5e08c11e4aa44f8d685 /drivers/pinctrl/pinctrl-sti.c | |
parent | ddb3ac3c716f56cead695444e65a7ba7b0946555 (diff) |
serial: serial-uclass: Use force parameter in stdio_deregister_dev()
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@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-sti.c')
0 files changed, 0 insertions, 0 deletions