summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-10-15 15:47:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-16 10:25:54 -0700
commit4295fe7791a1b20c90cbaaa6f23f2fb94218b8a7 (patch)
tree3cc7be03de3425c212d1f9f5f2d4e0eb5b6c3ab2 /arch
parentfa919751a2d26a88140fc5810124dd81644efe51 (diff)
downloadblackbird-op-linux-4295fe7791a1b20c90cbaaa6f23f2fb94218b8a7.tar.gz
blackbird-op-linux-4295fe7791a1b20c90cbaaa6f23f2fb94218b8a7.zip
USB: cp210x: fix port-data memory leak
Fix port data memory leak by replacing port private data with serial private data. Since commit 0998d0631001288 (device-core: Ensure drvdata = NULL when no driver is bound) the port private data is no longer freed at release. The private data is used to store the control interface number, but as this is the same for all ports on an interface it should be stored as usb-serial data anyway. Cc: <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud