diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-04 15:08:17 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-04 15:08:17 +0100 |
commit | 102f1b6fc7ad1facdc73f7a335878a606e039743 (patch) | |
tree | c9494d1121d5a25f8b82724c1b383b5d291b2fbf /packages/apmd/files/50-tmio-ohci-unbind | |
parent | 35317b469ee5368948c9d06c75ac98395b847d9a (diff) | |
parent | 8ad80633a45048351695897162f5a2bd94057c8f (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/apmd/files/50-tmio-ohci-unbind')
-rw-r--r-- | packages/apmd/files/50-tmio-ohci-unbind | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/apmd/files/50-tmio-ohci-unbind b/packages/apmd/files/50-tmio-ohci-unbind new file mode 100644 index 0000000000..f65e0b37d3 --- /dev/null +++ b/packages/apmd/files/50-tmio-ohci-unbind @@ -0,0 +1,19 @@ +#!/bin/sh + +TOPATH=/sys/bus/platform/drivers/tmio-ohci + +case "$1" in + suspend) + if [ -d $TOPATH ] + then + echo -n tmio-ohci > $TOPATH/unbind + fi + ;; + resume) + if [ -d $TOPATH ] + then + echo -n tmio-ohci > $TOPATH/bind + fi + ;; +esac + |