diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2008-11-14 10:44:59 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-11-18 15:08:56 +0100 |
commit | 98ba4031ab2adc8b394295e68aa4c8fe9d5060db (patch) | |
tree | 893ac2f6e4efddf79c192e4bae512e3a3f864baa /arch/blackfin/kernel/bfin_gpio.c | |
parent | 68aee07f9bad2c830a898cf6d6bfc11ea24efc40 (diff) |
relay: fix cpu offline problem
relay_open() will close allocated buffers when failed.
but if cpu offlined, some buffer will not be closed.
this patch fixed it.
and did cleanup for relay_reset() too.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/blackfin/kernel/bfin_gpio.c')
0 files changed, 0 insertions, 0 deletions