Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix of obtaining OMAP4 MODULEMODE values. #3

Closed
wants to merge 1 commit into from

1 participant

Rebell
Rebell

Return value, in case of succeed memory read operation,
had been always equal to 0 while it should contain value of bitfield.

Rebell Rebell Fix mod44xx_get_mode return value.
Return value, in case of succeed memory read operation,
had been always equal to 0 while it should contain value of bitfield.
6038654
Rebell Rebell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 26, 2012
  1. Rebell

    Fix mod44xx_get_mode return value.

    Rebell authored
    Return value, in case of succeed memory read operation,
    had been always equal to 0 while it should contain value of bitfield.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  omap4/module44xx.c
2  omap4/module44xx.c
View
@@ -193,7 +193,7 @@ int mod44xx_get_mode(mod44xx_id id, mod_module_mode *mmode)
dprintf(
"%s(): CM_CLKCTRL ADDR = 0x%08X CM_CLKCTRL = 0x%08X MODULEMODE = %d\n",
__func__, cm_clkctrl_addr, cm_clkctrl, *mmode);
- ret = 0;
+ ret = *mmode;
}
mod44xx_get_mode_exit:
Something went wrong with that request. Please try again.