1
0
Fork 0

tools/power/x86/intel-speed-select: Fix some debug prints

Fix wrong debug print for cpu, which is displayed as CLOS. Also
avoid printing clos id, when user is specify clos as parameter.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
alistair/sunxi64-5.4-dsi
Srinivas Pandruvada 2019-09-14 12:45:46 -07:00 committed by Andy Shevchenko
parent e118fbe366
commit d2d1f304dc
1 changed files with 1 additions and 2 deletions

View File

@ -508,7 +508,7 @@ int isst_send_mbox_command(unsigned int cpu, unsigned char command,
int write = 0;
int clos_id, core_id, ret = 0;
debug_printf("CLOS %d\n", cpu);
debug_printf("CPU %d\n", cpu);
if (parameter & BIT(MBOX_CMD_WRITE_BIT)) {
value = req_data;
@ -1421,7 +1421,6 @@ static void parse_cmd_args(int argc, int start, char **argv)
/* CLOS related */
case 'c':
current_clos = atoi(optarg);
printf("clos %d\n", current_clos);
break;
case 'd':
clos_desired = atoi(optarg);