diff options
author | SÅ‚awomir Demeszko <s.demeszko@wireless-instruments.com> | 2015-05-05 15:49:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-10 13:23:02 (GMT) |
commit | 892c89d5d7ffd1bb794fe54d86c0eef18d215fab (patch) | |
tree | e005acc8f0235b075742812d6dc67346710f4786 /drivers/iio | |
parent | 664a5c1d1e33cd89cb7883e8c74638cc482b5da7 (diff) | |
download | linux-892c89d5d7ffd1bb794fe54d86c0eef18d215fab.tar.xz |
staging: gdm724x: Correction of variable usage after applying ALIGN()
Fix regression introduced by commit <29ef8a53542a>. After it writing
AT commands to /dev/GCT-ATM0 is unsuccessful (no echo, no response)
and dmesg show "gdmtty: invalid payload : 1 16 f011".
Before that commit value of dummy_cnt was only a padding size. After using
ALIGN() this value is increased by its first argument. So the following
usage of this variable needs correction.
Signed-off-by: SÅ‚awomir Demeszko <s.demeszko@wireless-instruments.com>
Cc: stable <stable@vger.kernel.org> # 3.14+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions