]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP3: SDTI: Prevent access to sdti writing if module is not initialized.
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>
Thu, 12 Feb 2009 11:39:28 +0000 (11:39 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Feb 2009 22:11:13 +0000 (14:11 -0800)
commit2bf450019410d15dbce63893d3f91e076a5a70c0
tree83d0a8ec58d345f1fab0de40244916685a77ccec
parent5fc0a8253b0e10baa0f60fccdfad1ce30858db3f
OMAP3: SDTI: Prevent access to sdti writing if module is not initialized.

The function sti_channel_write_trace can be run from process and interrupt
context. It has to be completed before other sti_channel_write_trace calls.

Prevent sdti writing when SDTI module is not initialized.

Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/misc/sti/sdti.c