summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorNikolaus Voss2019-06-28 11:01:09 +0200
committerGreg Kroah-Hartman2019-07-14 08:11:20 +0200
commit8419fd562a091a1d6a69caa63cfff34510b4f474 (patch)
tree06bb28b38a0a1e38d2f8124f5805cd6734baeae3 /drivers/staging
parentdrivers/usb/typec/tps6598x.c: fix portinfo width (diff)
downloadkernel-qcow2-linux-8419fd562a091a1d6a69caa63cfff34510b4f474.tar.gz
kernel-qcow2-linux-8419fd562a091a1d6a69caa63cfff34510b4f474.tar.xz
kernel-qcow2-linux-8419fd562a091a1d6a69caa63cfff34510b4f474.zip
drivers/usb/typec/tps6598x.c: fix 4CC cmd write
commit 2681795b5e7a5bf336537661010072f4c22cea31 upstream. Writing 4CC commands with tps6598x_write_4cc() already has a pointer arg, don't reference it when using as arg to tps6598x_block_write(). Correcting this enforces the constness of the pointer to propagate to tps6598x_block_write(), so add the const qualifier there to avoid the warning. Fixes: 0a4c005bd171 ("usb: typec: driver for TI TPS6598x USB Power Delivery controllers") Signed-off-by: Nikolaus Voss <nikolaus.voss@loewensteinmedical.de> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions