Skip to content

Commit

Permalink
[OPP] avoid cpufreq_interactive_input_connect message to be printed i…
Browse files Browse the repository at this point in the history
…n OPP table

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  • Loading branch information
Patrick Titiano committed Jan 7, 2013
1 parent bea3cc9 commit 3aa6b77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ v1.62:
- [OMAP5][CLKDMDEP] fix incorrect register table used for ES2.0
- [OMAP5][OPP] add OMAP5430 ES2.0 OPP definitions
- [OPP] round clock rates to MHz during comparisons in opp_show
- [OPP] avoid cpufreq_interactive_input_connect message to be printed in OPP table


v1.61:
Expand Down
7 changes: 7 additions & 0 deletions common/opp.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#include <prcm-module.h>
#include <module.h>
#include <opp54xx.h>
#include <unistd.h>


/* #define OPP_DEBUG */
Expand Down Expand Up @@ -951,7 +952,13 @@ int opp_show(FILE *stream)
fprintf(stream, "Notes:\n");
fprintf(stream,
" (1) Module is disabled, rate may not be relevant.\n\n");
fflush(stream);

/*
* Avoid cpufreq_interactive_input_connect message to be printed in
* the middle of the OPP table...
*/
usleep(150000);
/* Restore CPUFreq governor */
cpufreq_scaling_governor_set(prev_gov, prev_gov2);

Expand Down

0 comments on commit 3aa6b77

Please sign in to comment.