- 10 2月, 2019 6 次提交
-
-
由 Ricardo Ribalda Delgado 提交于
Bindings for dac7612. Cc: devicetree@vger.kernel.org Signed-off-by: NRicardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Ricardo Ribalda Delgado 提交于
It is a driver for Texas Instruments Dual, 12-Bit Serial Input Digital-to-Analog Converter. Datasheet of this chip: http://www.ti.com/lit/ds/sbas106/sbas106.pdfSigned-off-by: NRicardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Ricardo Ribalda Delgado 提交于
Add support for Texas Instruments ADS7866, ADS7867 and ADS7868 8/10/12 bit Single channel ADC. Datasheet: http://www.ti.com/lit/ds/symlink/ads7868.pdfSigned-off-by: NRicardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Stefan Popa 提交于
The AD7768-1 core ADC receives a master clock signal (MCLK). The MCLK frequency combined with the MCLK division and the digital filter decimation rates, determines the sampling frequency. Along with MCLK_DIV, the power mode is also configured according to datasheet recommendations. From user space, available sampling frequencies can be read. However, it is not required for an exact value to be entered, since the driver will look for the closest available match. When the device configuration changes (for example, if the filter decimation rate changes), a SYNC_IN pulse is required. Signed-off-by: NStefan Popa <stefan.popa@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Stefan Popa 提交于
Analog Devices drivers are typically GPL v2 only. This patch fixes the inconsistencies between the module license and SPDX. Signed-off-by: NStefan Popa <stefan.popa@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Artur Rojek 提交于
Add an IIO driver for the ADC hardware present on Ingenic JZ47xx SoCs. Signed-off-by: NArtur Rojek <contact@artur-rojek.eu> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 09 2月, 2019 8 次提交
-
-
由 Artur Rojek 提交于
Add device tree bindings for the ADC controller on JZ47xx SoCs, used by the ingenic-adc driver. Signed-off-by: NArtur Rojek <contact@artur-rojek.eu> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Artur Rojek 提交于
Add documentation for the ADC controller on JZ47xx SoCs, used by the ingenic-adc driver. Signed-off-by: NArtur Rojek <contact@artur-rojek.eu> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Martin Kelly 提交于
We are using "if (ret < 0)" in many places in which the function returns 0 on success. Use "if (ret)" instead for better clarity and correctness. Signed-off-by: NMartin Kelly <martin@martingkelly.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Martin Kelly 提交于
Currently, we snap the timestamp after reading from the buffer and processing the event. When the IIO poll function is triggered by an interrupt, we can get a slightly more accurate timestamp by snapping it prior to reading the data, since the data was already generated prior to entering the trigger handler. This is not going to make a huge difference, but we might as well improve slightly. Do this by using iio_pollfunc_store_time as other drivers do. Signed-off-by: NMartin Kelly <martin@martingkelly.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Martin Kelly 提交于
We have added an optional boolean property for configuring a BMI160 interrupt pin as open-drain, as opposed to the default push-pull, so document this. Signed-off-by: NMartin Kelly <martin@martingkelly.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Martin Kelly 提交于
The bmi160 bindings say that the BMI160 requires level-triggered, active-low interrupts, but it actually supports all interrupt types, so fix the note to reflect that. Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NMartin Kelly <martin@martingkelly.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Martin Kelly 提交于
Add interrupt support for the data ready signal on the BMI160, which fires an interrupt whenever new accelerometer/gyroscope data is ready to read. Signed-off-by: NMartin Kelly <martin@martingkelly.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Martin Kelly 提交于
Add SPDX identifiers (GPL 2) for the BMI160 driver. bmi160.h had an identifier, but the other files did not. Signed-off-by: NMartin Kelly <martin@martingkelly.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 08 2月, 2019 2 次提交
-
-
由 K Hodges 提交于
Resolve "Line over 80 characters" warning from checkpatch Signed-off-by: NK Hodges <khodges42@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 K Hodges 提交于
Resolved "Line over 80 characters" warning from checkpatch Signed-off-by: NK Hodges <khodges42@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 07 2月, 2019 24 次提交
-
-
由 Himadri Pandya 提交于
Rename following members of struct rtllib_device to fix checkpatch warning: Avoid CamelCase pDot11dInfo -> dot11d_info bGlobalDomain -> global_domain IbssStartChnl -> bss_start_channel Signed-off-by: NHimadri Pandya <himadri18.07@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Himadri Pandya 提交于
Rename following members of struct rt_dot11d_info to fix checkpatch warning: Avoid Camelcase bEnabled -> enabled CountryIeLen -> country_len CountryIeBuf -> country_buffer CountryIeSrcAddr -> country_src_addr CountryIeWatchdog -> country_watchdog MaxTxPwrDbmList -> max_tx_power_list State -> state Signed-off-by: NHimadri Pandya <himadri18.07@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Himadri Pandya 提交于
Rename following members of chnl_txpow_triple to fix checkpatch warning: Avoid CamelCase FirstChnl -> first_channel NumChnls -> num_channels MaxTxPowerInDbm -> max_tx_power Signed-off-by: NHimadri Pandya <himadri18.07@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Rename linux_wlan.c and linux_mon.c to wilc_netdev.c and wilc_mon.c to include 'wilc_' prefix. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Remove 'linux_' prefix and replace it with 'wilc_' namespace. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Rename wilc_frmw_to_linux() to wilc_frmw_to_host() to be remove the _linux suffix. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Cleanup patch to have proper follow clear namespace in wilc_sdio.c file. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Cleanup patch to avoid function forward declaration by reordering the function. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Move data structure and function prototype from 'wilc_wlan_if.h file. Now, this file contains constant specific to the firmware. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Cleanup patch to rename data structure and function name to have 'wilc_' prefix. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Set correct value in '->vif_num' for the total number of interfaces and set '->idx' value using 'i'. Fixes: 735bb39c ("staging: wilc1000: simplify vif[i]->ndev accesses") Fixes: 0e490657 ("staging: wilc1000: Fix problem with wrong vif index") Cc: <stable@vger.kernel.org> Suggested-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Reviewed-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Nishad Kamdar 提交于
This patch corrects the style for SPDX license Identifier in mac.h by using "/* */" in place of "//" as per Linux kernel licensing rules. Issue found by checkpatch. Signed-off-by: NNishad Kamdar <nishadkamdar@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Colin Ian King 提交于
There is a null check on pointer dev which implies it may be null, however dev can never be null as it is set in rtl8192_usb_probe via the call to usb_set_intfdata. Detected by CoverityScan, CID#143078 ("Dereference after null check") Fixes: 8fc8598e ("Staging: Added Realtek rtl8192u driver to staging") Signed-off-by: NColin Ian King <colin.king@canonical.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Jin Chen 提交于
Fix checkpatch.pl warning: CHECK: Avoid CamelCase: <setDisplayControl> Signed-off-by: NJin Chen <nobijinc@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Dan Carpenter 提交于
"psecnetwork" is the address of &psecuritypriv->sec_bss. Since ->sec_bss isn't the first member of the struct that means that "psecnetwork" can't be NULL. We can just remove this dead code. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Add constant qualifer for 'p2p_vendor_spec' & 'p2p_oui' static variable because they are treated like constant values. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Avoid the use of static variable and move it as part of wilc structure. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Avoid use of static variable 'wlan_channel' by moving it inside the wilc structure. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Define local variable for 'srcadd' & 'bssid' static variables and use ether_addr_copy() to copy value into them. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Avoid use of static variable 'hif_deinit_lock' and move it as part of wilc struct. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Remove 'add_sta_param' structure as its not used now. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Before calling an operation on net_device check if that interface is available. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Avoid use of interface name i.e 'wlan0' & 'p2p0' to check the interface type in dev_state_ev_handler(). Now making use of netdev_ops and iface type to know interface. Reorder the functions to avoid the forward declaration after the above changes Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ajay Singh 提交于
Use random number to assign to cookie value. Signed-off-by: NAjay Singh <ajay.kathat@microchip.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-