diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-12-24 15:23:43 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-12-24 15:23:43 +0100 |
commit | 05017db3b3e0f0a294a38c38d7adb7d2c0c9844b (patch) | |
tree | 2102a110659301020338469fc2886ae6f1371d0b /drivers/serial/pmac_zilog.c | |
parent | aa5dc8ebd9ef7521461b1b47ec918be841a21313 (diff) |
ide-cd: use ide_cd_release() in ide_cd_probe()
Use ide_cd_release() to do the cleanup if ide_cdrom_setup() fails.
It fixes:
- the default drive->dsc_overlap value not being restored
- the default drive->queue's prep_rq_fn not being restored
- struct gendisk 'g' not being freed
- wrong function name being reported on unregister_cdrom() error
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/serial/pmac_zilog.c')
0 files changed, 0 insertions, 0 deletions