drivers/usb/typec/tps6598x.c: fix portinfo width
authorNikolaus Voss <nikolaus.voss@loewensteinmedical.de>
Fri, 28 Jun 2019 09:01:08 +0000 (11:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 16:40:49 +0000 (18:40 +0200)
commit05da75fc651138e51ff74ace97174349910463f5
treebaf694106a21adbc49b9fb83d3a8d72101311986
parent349148785b8cea9781af520fd53c29ee8087ee74
drivers/usb/typec/tps6598x.c: fix portinfo width

Portinfo bit field is 3 bits wide, not 2 bits. This led to
a wrong driver configuration for some tps6598x configurations.

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>
drivers/usb/typec/tps6598x.c