.TH "CPUPOWER\-FREQUENCY\-SET" "1" "0.1" "" "cpupower Manual" .SH "NAME" .LP cpupower\-frequency\-set \- A small tool which allows to modify cpufreq settings. .SH "SYNTAX" .LP cpupower [ \-c cpu ] frequency\-set [\fIoptions\fP] .SH "DESCRIPTION" .LP cpupower frequency\-set allows you to modify cpufreq settings without having to type e.g. "/sys/devices/system/cpu/cpu0/cpufreq/scaling_set_speed" all the time. .SH "OPTIONS" .LP .TP \fB\-d\fR \fB\-\-min\fR new minimum CPU frequency the governor may select. .TP \fB\-u\fR \fB\-\-max\fR new maximum CPU frequency the governor may select. .TP \fB\-g\fR \fB\-\-governor\fR new cpufreq governor. .TP \fB\-f\fR \fB\-\-freq\fR specific frequency to be set. Requires userspace governor to be available and loaded. .TP \fB\-r\fR \fB\-\-related\fR modify all hardware-related CPUs at the same time .TP .SH "REMARKS" .LP By default values are applied on all cores. How to modify single core configurations is described in the cpupower(1) manpage in the \-\-cpu option section. .LP The \-f FREQ, \-\-freq FREQ parameter cannot be combined with any other parameter. .LP FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz by postfixing the value with the wanted unit name, without any space (frequency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000). .LP On Linux kernels up to 2.6.29, the \-r or \-\-related parameter is ignored. .SH "FILES" .nf \fI/sys/devices/system/cpu/cpu*/cpufreq/\fP \fI/proc/cpufreq\fP (deprecated) \fI/proc/sys/cpu/\fP (deprecated) .fi .SH "AUTHORS" .nf Dominik Brodowski \- author Mattia Dongili \- first autolibtoolization .fi .SH "SEE ALSO" .LP cpupower\-frequency\-info(1), cpupower(1) it.cgi/linux/net-next.git/log/drivers/usb/host/fsl-mph-dr-of.c?h=nds-private-remove'>logtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-30 11:26:39 +0100
committerJiri Kosina <jkosina@suse.cz>2017-01-31 12:59:33 +0100
commit8e9faa15469ed7c7467423db4c62aeed3ff4cae3 (patch)
treec02e82adbed28ab857971022fca14ef7ee375b65 /drivers/usb/host/fsl-mph-dr-of.c
parent7a7b5df84b6b4e5d599c7289526eed96541a0654 (diff)
HID: cp2112: fix gpio-callback error handling
In case of a zero-length report, the gpio direction_input callback would currently return success instead of an errno. Fixes: 1ffb3c40ffb5 ("HID: cp2112: make transfer buffers DMA capable") Cc: stable <stable@vger.kernel.org> # 4.9 Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/host/fsl-mph-dr-of.c')