1. 10 Oct, 2019 1 commit
    • Mao Wenan's avatar
      usb: typec: add dependency for TYPEC_HD3SS3220 · da4b5d18
      Mao Wenan authored
      If CONFIG_TYPEC_HD3SS3220=y, CONFIG_USB_ROLE_SWITCH=m, below errors
      can be found:
      drivers/usb/typec/hd3ss3220.o: In function `hd3ss3220_remove':
      hd3ss3220.c:(.text+0x64): undefined reference to `usb_role_switch_put'
      drivers/usb/typec/hd3ss3220.o: In function `hd3ss3220_dr_set':
      hd3ss3220.c:(.text+0x154): undefined reference to `usb_role_switch_set_role'
      drivers/usb/typec/hd3ss3220.o: In function `hd3ss3220_set_role':
      hd3ss3220.c:(.text+0x294): undefined reference to `usb_role_switch_set_role'
      hd3ss3220.c:(.text+0x2f4): undefined reference to `usb_role_switch_set_role'
      hd3ss3220.c:(.text+0x348): undefined reference to `usb_role_switch_set_role'
      hd3ss3220.c:(.text+0x390): undefined reference to `usb_role_switch_set_role'
      drivers/usb/typec/hd3ss3220.o: In function `hd3ss3220_probe':
      hd3ss3220.c:(.text+0x5e8): undefined reference to `fwnode_usb_role_switch_get'
      hd3ss3220.c:(.text+0x8a4): undefined reference to `usb_role_switch_put'
      make: *** [vmlinux] Error 1
      
      This patch add dependency USB_ROLE_SWITCH for TYPEC_HD3SS3220.
      
      Fixes: 1c48c759 ("usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller")
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarMao Wenan <maowenan@huawei.com>
      Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Reviewed-by: default avatarBiju Das <biju.das@bp.renesas.com>
      Link: https://lore.kernel.org/r/20191009014707.38716-1-maowenan@huawei.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      da4b5d18
  2. 07 Oct, 2019 4 commits
  3. 06 Oct, 2019 1 commit
  4. 04 Oct, 2019 34 commits