- 16 5月, 2018 31 次提交
-
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus fix the affected source code places. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Replace the specification of two data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Andrey Smirnov 提交于
Check received frame length _before_ accepting next byte in order to avoid incorrectly rejecting payloads that are RAVE_SP_RX_BUFFER_SIZE long. Signed-off-by: NAndrey Smirnov <andrew.smirnov@gmail.com> Tested-by: NLucas Stach <l.stach@pengutronix.de> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Andrey Smirnov 提交于
Convert print_hex_dump() to print_hex_dump_debug() to be able to leverage CONFIG_DYNAMIC_DEBUG. Signed-off-by: NAndrey Smirnov <andrew.smirnov@gmail.com> Reviewed-by: NLucas Stach <l.stach@pengutronix.de> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Andrey Smirnov 提交于
Add code that would query and print out bootloader and application firmware version info. Signed-off-by: NAndrey Smirnov <andrew.smirnov@gmail.com> Tested-by: NLucas Stach <l.stach@pengutronix.de> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Himanshu Jha 提交于
Use kasprintf instead of combination of kmalloc and sprintf. Signed-off-by: NHimanshu Jha <himanshujha199640@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Jeffy Chen 提交于
We are now allowing to register debugfs without a valid device, and not having a valid name will end up using "dummy*" to create debugfs dir. Signed-off-by: NJeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Quentin Schulz 提交于
As axp20x-battery-power-supply now supports AXP813, add a cell for it. Signed-off-by: NQuentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Quentin Schulz 提交于
This makes the axp20x_adc driver probe with platform device id "axp813-adc". Signed-off-by: NQuentin Schulz <quentin.schulz@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Quentin Schulz 提交于
This makes AXP209 and AXP22x ADCs probe first via DT and then by fallback via platform. Signed-off-by: NQuentin Schulz <quentin.schulz@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Wenkai Du 提交于
This reverts commit e04653a9. It is no longer needed to install Chrome EC GPE handler to have GPE enabled in suspend to idle path. It is found that with this handler installed, EC wake up doesn't work because default EC event handler that can wake up system is not getting called. Signed-off-by: NWenkai Du <wenkai.du@intel.com> Acked-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Rajmohan Mani 提交于
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: NRajmohan Mani <rajmohan.mani@intel.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Dave Gerlach 提交于
Commit 2dc49403 ("regulator: tps65218: Remove all the compatibles") changes the probe function of drivers/regulator/tps65218-regulator.c so that it iterates through all available regulators and assumes that the regulator IDs are sequential and match the order present in the enum tps65218_regulator_id. However, for some reason the much older commit c0ea88b8 ("regulator: tps65218: add support for LS3 current regulator") updated all arrays with LS3 at the end but added it second to last for the enum. Because of this long standing mismatch in order between the tps65218_regulator_id enum and the regulator_desc array in the tps65218 regulator driver, the new probe function causes the strobe values to be associated with the wrong regulator ID. This causes LDO1 to fail to suspend in tps65218_pmic_set_suspend_disable due to not having anything probes for its strobe value. Fix the order in the enum so the probe function works as the update intended. Fixes: 2dc49403 ("regulator: tps65218: Remove all the compatibles") Signed-off-by: NDave Gerlach <d-gerlach@ti.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 David Lechner 提交于
This sets the regmap name to the device tree node name. This is useful for debugging. Signed-off-by: NDavid Lechner <david@lechnology.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Ladislav Michl 提交于
Allocating memory to store clk array together with driver data simplifies error unwinding and allows deleting memory allocation failure message as there is now only single point of failure already covered by allocation failure report. Signed-off-by: NLadislav Michl <ladis@linux-mips.org> [Markus Elfring: simplified error unwinding, error message removal] Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Acked-by: NRoger Quadros <rogerq@ti.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Markus Elfring 提交于
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Krzysztof Kozlowski 提交于
Since commit 5812f010 ("phy: exynos4: Remove duplicated defines of PHY register defines") and commit 7a66647b ("phy: exynos: Use one define for enable bit") all users of syscon Exynos PMU headers (for PHY drivers) are converted to use different headers so these can be removed. Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Lee Jones 提交于
Merge tags 'ib-mfd-hwmon-v4.18', 'ib-mfd-input-rtc-v4.18' and 'ib-mfd-pwm-v4.18' into ibs-for-mfd-merged Immutable branch between MFD and HWMON due for the v4.18 merge window Immutable branch between MFD, Input and RTC due for the v4.18 merge window Immutable branch between MFD and PWM due for the v4.18 merge window
-
由 Fabrice Gasnier 提交于
Using input prescaler, capture unit will trigger DMA once every configurable /2, /4 or /8 events (rising edge). This helps improve period (only) capture accuracy at high rates. Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org> Acked-by: NThierry Reding <thierry.reding@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Fabrice Gasnier 提交于
Currently, capture is based on timeout window to configure prescaler. PWM capture framework provides 1s window at the time of writing. There's place for improvement, after input signal has been captured once: - Finer tune counter clock prescaler, by using 1st capture result (with arbitrary margin). - Do a 2nd capture, with scaled capture window. This increases accuracy, especially at high rates. Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org> Acked-by: NThierry Reding <thierry.reding@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Fabrice Gasnier 提交于
Add support for PMW input mode on pwm-stm32. STM32 timers support period and duty cycle capture as long as they have at least two PWM channels. One capture channel is used for period (rising-edge), one for duty-cycle (falling-edge). When there's only one channel available, only period can be captured. Duty-cycle is simply zero'ed in such a case. Capture requires exclusive access (e.g. no pwm output running at the same time, to protect common prescaler). Timer DMA burst mode (from MFD core) is being used, to take two snapshots of capture registers (upon each period rising edge). Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org> Acked-by: NThierry Reding <thierry.reding@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Fabrice Gasnier 提交于
STM32 Timers can support up to 7 DMA requests: - 4 channels, update, compare and trigger. Optionally request part, or all DMAs from stm32-timers MFD core. Also add routine to implement burst reads using DMA from timer registers. This is exported. So, it can be used by child drivers, PWM capture for instance (but not limited to). Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 16 4月, 2018 9 次提交
-
-
由 Chen Zhong 提交于
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Signed-off-by: NChen Zhong <chen.zhong@mediatek.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Chen Zhong 提交于
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: NChen Zhong <chen.zhong@mediatek.com> Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Chen Zhong 提交于
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Signed-off-by: NChen Zhong <chen.zhong@mediatek.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Chen Zhong 提交于
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: NChen Zhong <chen.zhong@mediatek.com> Acked-by: NRob Herring <robh@kernel.org> Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Chen Zhong 提交于
The core driver should create and manage irq mappings instead of leaf drivers. This patch change to pass irq domain to devm_mfd_add_devices() and it will create mapping for irq resources automatically. And remove irq mapping in rtc driver since this has been done in core driver. Signed-off-by: NChen Zhong <chen.zhong@mediatek.com> Acked-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Andrey Gusakov 提交于
The uid and die temperature can be read out on the ADIN7 using input mux. Map uid and die temperature sensor to channels 16 and 17. Signed-off-by: NAndrey Gusakov <andrey.gusakov@cogentembedded.com> Acked-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Linus Torvalds 提交于
-
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux由 Linus Torvalds 提交于
Pull more btrfs updates from David Sterba: "We have queued a few more fixes (error handling, log replay, softlockup) and the rest is SPDX updates that touche almost all files so the diffstat is long" * tag 'for-4.17-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: btrfs: Only check first key for committed tree blocks btrfs: add SPDX header to Kconfig btrfs: replace GPL boilerplate by SPDX -- sources btrfs: replace GPL boilerplate by SPDX -- headers Btrfs: fix loss of prealloc extents past i_size after fsync log replay Btrfs: clean up resources during umount after trans is aborted btrfs: Fix possible softlock on single core machines Btrfs: bail out on error during replay_dir_deletes Btrfs: fix NULL pointer dereference in log_dir_items
-
git://git.samba.org/sfrench/cifs-2.6由 Linus Torvalds 提交于
Pull cifs fixes from Steve French: "SMB3 fixes, a few for stable, and some important cleanup work from Ronnie of the smb3 transport code" * tag '4.17-rc1SMB3-Fixes' of git://git.samba.org/sfrench/cifs-2.6: cifs: change validate_buf to validate_iov cifs: remove rfc1002 hardcoded constants from cifs_discard_remaining_data() cifs: Change SMB2_open to return an iov for the error parameter cifs: add resp_buf_size to the mid_q_entry structure smb3.11: replace a 4 with server->vals->header_preamble_size cifs: replace a 4 with server->vals->header_preamble_size cifs: add pdu_size to the TCP_Server_Info structure SMB311: Improve checking of negotiate security contexts SMB3: Fix length checking of SMB3.11 negotiate request CIFS: add ONCE flag for cifs_dbg type cifs: Use ULL suffix for 64-bit constant SMB3: Log at least once if tree connect fails during reconnect cifs: smb2pdu: Fix potential NULL pointer dereference
-