Loading drivers/soc/qcom/fsa4480-i2c.c +3 −3 Original line number Diff line number Diff line /* Copyright (c) 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -250,10 +250,10 @@ int fsa4480_switch_event(struct device_node *node, fsa4480_usbc_update_settings(fsa_priv, switch_control, 0x9F); break; case FSA_USBC_ORIENTATION_CC1: fsa4480_usbc_update_settings(fsa_priv, 0x00, 0xE0); fsa4480_usbc_update_settings(fsa_priv, 0x18, 0xF8); return fsa4480_validate_display_port_settings(fsa_priv); case FSA_USBC_ORIENTATION_CC2: fsa4480_usbc_update_settings(fsa_priv, 0x60, 0xE0); fsa4480_usbc_update_settings(fsa_priv, 0x78, 0xF8); return fsa4480_validate_display_port_settings(fsa_priv); case FSA_USBC_DISPLAYPORT_DISCONNECTED: fsa4480_usbc_update_settings(fsa_priv, 0x18, 0x98); Loading Loading
drivers/soc/qcom/fsa4480-i2c.c +3 −3 Original line number Diff line number Diff line /* Copyright (c) 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -250,10 +250,10 @@ int fsa4480_switch_event(struct device_node *node, fsa4480_usbc_update_settings(fsa_priv, switch_control, 0x9F); break; case FSA_USBC_ORIENTATION_CC1: fsa4480_usbc_update_settings(fsa_priv, 0x00, 0xE0); fsa4480_usbc_update_settings(fsa_priv, 0x18, 0xF8); return fsa4480_validate_display_port_settings(fsa_priv); case FSA_USBC_ORIENTATION_CC2: fsa4480_usbc_update_settings(fsa_priv, 0x60, 0xE0); fsa4480_usbc_update_settings(fsa_priv, 0x78, 0xF8); return fsa4480_validate_display_port_settings(fsa_priv); case FSA_USBC_DISPLAYPORT_DISCONNECTED: fsa4480_usbc_update_settings(fsa_priv, 0x18, 0x98); Loading