• wwang's avatar
    staging:rts_pstor: fix thread synchronization flow · f7046482
    wwang authored
    Using different completion variables to synchronize different kernel threads
    
    This patch fix a bug that may cause memory leak when driver
    disconnected. This is not a very urgent bug. Because with the default
    setting, driver disconnectting routine won't be called except when Linux
    is shut down. But if the option auto_delink_en is set, a small number of
    memory would leak out after memory card unplugged.
    Signed-off-by: default avatarwwang <wei_wang@realsil.com.cn>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    f7046482
rtsx.h 5.23 KB