Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d8c2c0d8 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

serial: etraxfs-uart: Fix release etraxfs_uart_ports



In probe, we use dev_id as array index of etraxfs_uart_ports and store the
index in port->line. So etraxfs_uart_ports[port->line] should be released
when unload the module.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarNiklas Cassel <nks@flawful.org>
Acked-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 08b33249
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment