diff options
author | Huang Shijie <b32955@freescale.com> | 2013-08-29 16:29:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-30 14:11:28 -0700 |
commit | b09c74ae1263ea63b63dd65e6b6500686a3a5fe3 (patch) | |
tree | 23543f8ec506a42073b6b2dd1822c59ad477b159 /drivers/tty/hvc | |
parent | dd910d98a2e240443db0090b0ae8a719a4a460f8 (diff) | |
download | op-kernel-dev-b09c74ae1263ea63b63dd65e6b6500686a3a5fe3.zip op-kernel-dev-b09c74ae1263ea63b63dd65e6b6500686a3a5fe3.tar.gz |
serial: imx: initialize the local variable
The slave_config is not initialized, so some of its fields may
be set with random data which may causes the failure in the following
dmaengine_prep_slave_sg().
This patch fixes this issue.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc')
0 files changed, 0 insertions, 0 deletions