staging: nvec: re-enable the clock on resume
authorMarc Dietrich <marvin24@gmx.de>
Sat, 27 Jul 2013 16:20:58 +0000 (18:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Jul 2013 18:29:37 +0000 (11:29 -0700)
commitca250b6017910ca6edca4cbd6eaa7452a13b5c03
tree70d28cd46f368af59ae1f5b6e7e42f265c27199d
parent9c02d0dbdefdb8953f6bce698bcce651a13f3a19
staging: nvec: re-enable the clock on resume

On resume the slave controller is reinitialized. The tegra i2c master
controller disables the clock at the end of the initialiation, propably
to save some power, and enables it again on each transfer. We don't
do this yet and also forgot to enable the clock on resume. Fix this
copy-paste error by not disabling the clock after initialization.

This didn't striked us yet because suspend/resume hasn't landed in mainline
yet, but will soon.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c