]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: sm750fb: Fix parameter mistake in poke32
authorHuacai Chen <chenhc@lemote.com>
Fri, 19 Jan 2018 15:17:16 +0000 (10:17 -0500)
committerKhalid Elmously <khalid.elmously@canonical.com>
Tue, 27 Feb 2018 16:33:45 +0000 (11:33 -0500)
commit05d2a32f9329a8137d0e6a9c0a8d5dd3a3a75181
tree42d011d9dcb9ccbd3da5aa176663418eb07cba35
parentdcd07d4d7bd32dc9c9bd604946de6ce989948e78
staging: sm750fb: Fix parameter mistake in poke32

BugLink: http://bugs.launchpad.net/bugs/1742721
In commit c075b6f2d357ea9 ("staging: sm750fb: Replace POKE32 and PEEK32
by inline functions"), POKE32 has been replaced by the inline function
poke32. But it exchange the "addr" and "data" parameters by mistake, so
fix it.

Fixes: c075b6f2d357ea9 ("staging: sm750fb: Replace POKE32 and PEEK32 by inline functions"),
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Liangliang Huang <huangll@lemote.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 16808dcf605e6302319a8c3266789b76d4c0983b)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Acked-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/staging/sm750fb/ddk750_chip.h