summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-11-14 16:34:40 +0100
committerStefan Agner <stefan.agner@toradex.com>2019-10-03 16:16:15 +0200
commit6f79dab4c366bdfad8898f3712de653897887d00 (patch)
tree0cea0ba99a8e9efb758735447845172143b68d2a /net/lapb/lapb_timer.c
parente5632251eef47ebc701cefd7d6196a2d43040df9 (diff)
serial: imx: unprepare console clocks on remove
Currently imx_uart_console_setup() prepares clocks which do not get unprepared anywhere. Check whether the console has been used by testing if index is set and unprepare clocks in this case. This makes sure that clocks are properly unprepared after the console device has been unbound. Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions