serial: bfin_sport_uart: zero sport_uart_port if allocated dynamically
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 9 Mar 2010 17:25:35 +0000 (12:25 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:34:28 +0000 (09:34 -0700)
commitf4d10ca895841ec0090bed81e614b6c731ac7d7d
tree14413b176be86c9317c69b7ce796be123bee3339
parent9498dc95ca6fa6e5b044f39696ab317996fd2fe5
serial: bfin_sport_uart: zero sport_uart_port if allocated dynamically

Need to initialize the SPORT state rather than using random memory.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/bfin_sport_uart.c