]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit844e523fd77b9b07fe4cef341119609c113c2f42
treec1493d8b5745276f2d0e5b1600b05dd29cb496bd
parent277c587304375a47179d59907e7fe02b2f84e492
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: 4301b555a2e8 ("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