tegra124: fix OSC initialization on LP0 resume
Add a missing "~" so that we mask off just OSC_XOFS field and not the rest of the register. BUG=chrome-os-partner:26326 TEST=XHCI sometimes works after LP0. BRANCH=none Change-Id: I2df2387dbad6920d36aa2ae5e6cd91e9ec42fa08 Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/188897 Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
8f4ef24609
commit
bdbe9ead46
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ static void config_oscillator(void)
|
|||
PMC_XOFS_MASK) >> PMC_XOFS_SHIFT;
|
||||
|
||||
uint32_t osc_ctrl = read32(clk_rst_osc_ctrl_ptr);
|
||||
osc_ctrl &= OSC_XOFS_MASK;
|
||||
osc_ctrl &= ~OSC_XOFS_MASK;
|
||||
osc_ctrl |= (xofs << OSC_XOFS_SHIFT);
|
||||
osc_ctrl |= OSC_XOE;
|
||||
write32(osc_ctrl, clk_rst_osc_ctrl_ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue