diff options
author | Richard Weinberger <richard@nod.at> | 2013-03-30 23:48:16 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-01 23:29:52 +0400 |
commit | 945480b159aa0869bf5dadc07fdbae964882820b (patch) | |
tree | c17504b13e341abaca738a3ec5b0d4eb3f3d86c0 /drivers/misc/c2port | |
parent | 974857266aae29c371ac2313ab520616335caec9 (diff) | |
download | linux-945480b159aa0869bf5dadc07fdbae964882820b.tar.xz |
cs5535-mfgpt: Add another reset method
The CS5535/CS5536 MFGPT has no support to reset the device.
The current method uses an undocumented bit but does not work on all
devices. At least on my ALIX board it completely freezes the board.
This new method tries to soft reset all timers by unconfiguring them.
But this does not clear the RO setup register and therefore it has to
be ignored while probing.
Resetting the timers is not only needed on broken BIOSes also when
kexec is used. Otherwise the new kernel will find preconfigured timers
and odd things will happen.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/c2port')
0 files changed, 0 insertions, 0 deletions