summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-03-26 18:57:35 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-29 03:03:54 +0400
commitb6ad29355560beef6d127c6d33fb10ec0113bd85 (patch)
treed4a6a09cc1f92d49801a1786e2e40246db50b2e6 /tools/perf/scripts/python
parentcfcec52e9781f08948c6eb98198d65c45be75a70 (diff)
downloadlinux-b6ad29355560beef6d127c6d33fb10ec0113bd85.tar.xz
tty: serial: samsung: Disable interrupts in a suspend-friendly way
Since the interrupt mask register is not preserved across system suspend and it defaults to all interrupts enabled, it is not enough to disable UART interrupt. This patch adds free_irq to port shutdown and mask setting to port startup to handle IRQ disabling in a suspend-friendly way. In addition, a bug caused by multiple request_irq calls in port startup callback is fixed. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions