Skip to content

forgot disable debug qtouch #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions arch/arm/mach-tegra/nvrm/core/common/nvrm_clocks_limits.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,7 @@ NvRmPrivClockLimitsInit(NvRmDeviceHandle hRmDevice)
// Combine AVP/System clock absolute limit with scaling V/F ladder upper
// boundary, and set default clock range for all present modules the same
// as for AVP/System clock
#ifdef CONFIG_AVP_OVERCLOCK
AvpMaxKHz = 266400;
#else

AvpMaxKHz = pSKUedLimits->AvpMaxKHz;
for (i = 0; i < pShmoo->ScaledLimitsListSize; i++)
{
Expand All @@ -285,7 +283,7 @@ NvRmPrivClockLimitsInit(NvRmDeviceHandle hRmDevice)
break;
}
}
#endif //CONFIG_AVP_OVERCLOCK

for (i = 0; i < NvRmPrivModuleID_Num; i++)
{
NvRmModuleInstance *inst;
Expand Down
6 changes: 2 additions & 4 deletions arch/arm/mach-tegra/nvrm/core/common/nvrm_clocks_limits1300.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,7 @@ NvRmPrivClockLimitsInit(NvRmDeviceHandle hRmDevice)
// Combine AVP/System clock absolute limit with scaling V/F ladder upper
// boundary, and set default clock range for all present modules the same
// as for AVP/System clock
#ifdef CONFIG_AVP_OVERCLOCK
AvpMaxKHz = 266400;
#else

AvpMaxKHz = pSKUedLimits->AvpMaxKHz;
for (i = 0; i < pShmoo->ScaledLimitsListSize; i++)
{
Expand All @@ -285,7 +283,7 @@ NvRmPrivClockLimitsInit(NvRmDeviceHandle hRmDevice)
break;
}
}
#endif //CONFIG_AVP_OVERCLOCK

for (i = 0; i < NvRmPrivModuleID_Num; i++)
{
NvRmModuleInstance *inst;
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/mach-tegra/odm_kit/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ config TEGRA_ODM_DAYTONA
config TEGRA_ODM_OLYMPUS
bool "Motorola OLYMPUS brassboard/phone"
depends on ARCH_TEGRA_2x_SOC
config AVP_OVERCLOCK
bool "AVP Overclocking"
depends on ARCH_TEGRA
default n

config STOCK_VOLTAGE
bool "stock voltage values"
Expand Down
2 changes: 1 addition & 1 deletion include/linux/qtouch_obp_ts.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ struct qtouch_ts_platform_data
enum
{
/* Implemented */
QTOUCH_IOCTL_SET_DEBUG = 1,
QTOUCH_IOCTL_SET_DEBUG = 0,
QTOUCH_IOCTL_GET_DEBUG,
QTOUCH_IOCTL_GET_VERSION,
QTOUCH_IOCTL_MODE,
Expand Down