usb: typec: ucsi: Fix the notification bit offsets
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 8 Jan 2020 13:13:46 +0000 (16:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2020 16:34:16 +0000 (17:34 +0100)
commit33786a2801163a5888679ae064b99927fa849a9e
treec1493d8b5745276f2d0e5b1600b05dd29cb496bd
parent2548288b4fb059b2da9ceada172ef763077e8a59
usb: typec: ucsi: Fix the notification bit offsets

The bit offsets for the Set Notification Enable command were
not considering the reserved bits in the middle.

Fixes: 470ce43a1a81 ("usb: typec: ucsi: Remove struct ucsi_control")
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200108131347.43217-2-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.h