Skip to content
Commit eb445a15 authored by Liam Beguin's avatar Liam Beguin Committed by Vinod Koul
Browse files

phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2



Start by reading the content of the VENDOR_SPECIFIC2 register and update
each bit field based on device properties when defined.

The use of bit masks prevents fields from overriding each other and
enables users to clear bits which are set by default, like datapolarity
in this instance.

Signed-off-by: default avatarLiam Beguin <lvb@xiphos.com>
Link: https://lore.kernel.org/r/20201211191241.21306-1-liambeguin@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 015acd5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment