[PORT FROM R2]HSU Driver: fix possible memory leak
authorXu, Feng <feng.xu@intel.com>
Fri, 9 Mar 2012 07:35:29 +0000 (15:35 +0800)
committerbuildbot <buildbot@intel.com>
Tue, 13 Mar 2012 19:52:44 +0000 (12:52 -0700)
commit46884251665ec987185644f32528d0765b2f11ac
treebc7091cefc80b209e3992010f2034af82455e0f1
parent714c42017d97e71cf1e390f41b7d5c8bd3ca327e
[PORT FROM R2]HSU Driver: fix possible memory leak

BZ: 26435

In hsu_startup function, DMA buffer was allocated. while in
hsu_shutdown function, the allocated buffer is not free. So
potentially this will cause memory leak.

Change-Id: I706eab1dafcc728a77f38fca8b3253e6b46bd37f
Orig-Change-Id: I85a03246fcaa6a85b8ba8d254b8b4684036355f6
Signed-off-by: Even Xu <feng.xu@intel.com>
Reviewed-on: http://android.intel.com:8080/38074
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/tty/serial/mfd.c