mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[PATCH] sil24: add missing ata_pad_free()
sil24_port_stop() is missing call to ata_pad_free() thus leaking pad buffer when a port is stopped. This patch adds it. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
9e6c67fd27
commit
e9c05afa80
1 changed files with 1 additions and 0 deletions
|
|
@ -687,6 +687,7 @@ static void sil24_port_stop(struct ata_port *ap)
|
|||
struct sil24_port_priv *pp = ap->private_data;
|
||||
|
||||
sil24_cblk_free(pp, dev);
|
||||
ata_pad_free(ap, dev);
|
||||
kfree(pp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue