linux/drivers
John Keeping 288b398ff5 UPSTREAM: pinctrl: rockchip: split out verification of mux settings
We need to avoid calling regmap functions from irq handlers, so the next
commit is going to move the call to rockchip_set_mux() into an
irq_bus_sync_unlock handler.  But we can't return an error from there so
we still need to check the settings from rockchip_irq_set_type() and we
will use this new rockchip_verify_mux() function from there.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David Wu <david.wu@rock-chips.com>
(cherry picked from git.kernel.org thierry.reding/linux-pwm.git for-next
 commit 05709c3e88)

Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I421f9c2faf835ca821c574602d6b4a66cdde9769
2017-06-01 14:25:46 +08:00
..
accessibility
acpi Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
adc
amba
android ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES. 2017-04-10 13:28:07 +05:30
ata ahci: Add Device ID for ASMedia 1061R and 1062R 2017-03-22 14:17:14 +08:00
atm
auxdisplay
base Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
bcma bcma: use (get|put)_device when probing/removing device driver 2017-03-12 06:37:30 +01:00
block zram: do not use copy_page with non-page aligned address 2017-04-21 09:30:06 +02:00
bluetooth LSK 17.03 v4.4-android 2017-03-31 11:43:47 +08:00
bus bus: vexpress-config: fix device reference leak 2017-01-19 20:17:22 +01:00
cdrom
char Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-04-23 12:02:14 +08:00
cir
clk clk: rockchip: rk3328: add flag CLK_IGNORE_UNUSED for hclk_vop_niu 2017-05-23 17:45:33 +08:00
clocksource Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-03-01 18:40:28 +08:00
cmmb
connector
cpufreq cpufreq: rockchip: fix warning caused by passing invalid cpu id 2017-05-19 11:35:16 +08:00
cpuidle Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2016-10-18 12:31:07 +08:00
crypto crypto: caam - fix RNG deinstantiation error checking 2017-04-18 07:14:36 +02:00
dca
devfreq PM / devfreq: rockchip_dmc: add unify params for ddr frequency scanning. 2017-05-18 11:14:42 +08:00
dio
dma dmaengine: pl330: fix error message to dev_err_ratelimited 2017-05-04 14:53:05 +08:00
dma-buf UPSTREAM: dma-buf: Add ioctls to allow userspace to flush 2017-05-16 18:33:15 +08:00
edac EDAC: Increment correct counter in edac_inc_ue_error() 2016-09-07 08:32:41 +02:00
eisa
extcon extcon: Add EXTCON_USB_VBUS_EN for USB Type-C 2016-10-07 15:42:26 +08:00
firewire firewire: net: fix fragmented datagram_size off-by-one 2016-11-10 16:36:35 +01:00
firmware firmware: rockchip: use 'nsec_ctx->und_lr' to deliver fiq break point's PC 2017-05-16 09:27:25 +08:00
fmc
fpga
gpio gpio: rk8xx: print probe successful info 2017-04-28 17:43:16 +08:00
gpu drm/rockchip: vop: support vop dump when iommu page fault 2017-05-19 16:30:22 +08:00
headset_observe rk_headset: add headset type logic to compatible with cx2072x 2017-01-06 18:25:43 +08:00
hid hid: usbhid: enable hid to wakeup system if it supports remote wakeup 2017-04-24 19:28:56 +08:00
hsi
hv hv: don't reset hv_context.tsc_page on crash 2017-04-27 09:09:34 +02:00
hwmon Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-03-01 18:40:28 +08:00
hwspinlock
hwtracing Merge branch 'v4.4/topic/coresight' into linux-linaro-lsk-v4.4 2017-03-24 11:27:10 +08:00
i2c i2c: rk3x: Make sure the i2c transfer to be finished before system reboot 2017-05-26 12:03:12 +08:00
ide
idle intel_idle: Support for Intel Xeon Phi Processor x200 Product Family 2016-09-15 08:27:46 +02:00
iio Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
infiniband IB/srp: Fix race conditions related to task management 2017-03-15 09:57:13 +08:00
input driver: sensor-dev: use copy_to_user&&copy_from_user to do the user point 2017-05-22 12:00:32 +08:00
iommu Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
ipack
irqchip Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
isdn isdn/gigaset: fix NULL-deref at probe 2017-03-26 12:13:19 +02:00
leds UPSTREAM: leds: pca9532: Add device tree support 2017-05-31 11:05:35 +08:00
lguest
lightnvm lightnvm: put bio before return 2016-09-24 10:07:35 +02:00
macintosh
mailbox mailbox: rk3368: fix error setting if mbox_msg is null 2017-05-08 15:46:26 +08:00
mcb
md Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-05-04 12:01:39 +08:00
media camera: rockchip: camsys driver v0.0x22.0 2017-05-31 14:29:43 +08:00
memory
memstick memstick: rtsx_usb_ms: Manage runtime PM when accessing the device 2016-10-28 03:01:35 -04:00
message
mfd mfd: fusb302: move notify to PD startup state 2017-05-25 11:57:00 +08:00
misc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
mmc mmc: host: rk_sdmmc_ops: fix area access error 2017-05-25 20:07:45 +08:00
mtd Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
mtk_wcn_bt
mtk_wcn_combo
net net: phy: dp83867: Check if the phy is in an internal testing mode 2017-05-31 11:07:53 +08:00
nfc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-12-02 20:31:31 +08:00
ntb ntb_transport: Pick an unused queue 2017-02-23 17:43:10 +01:00
nubus
nvdimm libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat 2017-04-21 09:30:06 +02:00
nvme NVMe: tage the disk with flag of is_rk_disk 2017-01-05 09:17:28 +08:00
nvmem nvmem: rockchip-efuse: add support for rk322x-efuse 2017-05-11 19:21:53 +08:00
of Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-12-02 20:31:31 +08:00
oprofile
parisc
parport parport: fix attempt to write duplicate procfiles 2017-03-30 09:35:17 +02:00
pci Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
pcmcia
perf Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-11-04 14:30:24 +08:00
phy phy: rockchip-inno-usb2: add cfgs for phy1 port1 of rk322x SoC 2017-05-18 11:34:09 +08:00
pinctrl UPSTREAM: pinctrl: rockchip: split out verification of mux settings 2017-06-01 14:25:46 +08:00
platform Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
pnp
power power: rk818-charger: move irq init to the last step 2017-05-19 17:48:44 +08:00
powercap
pps
ps3
ptp
pwm LSK 17.03 v4.4-android 2017-03-31 11:43:47 +08:00
rapidio
ras
regulator regulator: core: Clear the supply pointer if enabling fails 2017-05-02 21:19:49 -07:00
remoteproc
reset
rk_nand driver: rk nand: update ftl to support slc nand 2017-04-27 16:38:02 +08:00
rpmsg
rtc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
s390 s390/zcrypt: Introduce CEX6 toleration 2017-03-30 09:35:20 +02:00
sbus
scsi Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-04-23 12:02:14 +08:00
sfi
sh
smc
sn
soc drivers: vendor_storage: add retry when emmc initialize failed 2017-05-25 10:00:26 +08:00
spi Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-03-01 18:40:28 +08:00
spmi
ssb ssb: Fix error routine when fallback SPROM fails 2017-01-09 08:07:42 +01:00
staging drivers: inv_mpu: remove no use debug 2017-05-16 18:34:02 +08:00
switch drivers: switch: clear drvdata before device_destroy 2017-04-28 18:35:47 +08:00
target iscsi-target: Drop work-around for legacy GlobalSAN initiator 2017-04-21 09:30:05 +02:00
tc
testcode
thermal thermal: rockchip: rk3368: fix bad unlock balance issue 2017-04-24 10:38:57 +08:00
thunderbolt
tty Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
uio uio: fix dmem_region_start computation 2016-10-31 04:13:59 -06:00
usb FROMLIST: usb: dwc2: resume root hub to handle disconnect of device 2017-05-31 09:47:25 +08:00
uwb uwb: hwa-rc: fix NULL-deref at probe 2017-03-30 09:35:17 +02:00
vfio vfio/pci: Fix integer overflows, bitmask check 2017-04-30 05:49:29 +02:00
vhost vhost/scsi: fix reuse of &vq->iov[out] in response 2016-09-15 08:27:53 +02:00
video video/rockchip: fix rga driver compile when LPAE 2017-05-25 20:14:59 +08:00
virt
virtio virtio_balloon: init 1st buffer in stats vq 2017-03-31 09:49:53 +02:00
vlynq
vme vme: Fix wrong pointer utilization in ca91cx42_slave_get 2017-01-19 20:17:21 +01:00
w1 Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-03-20 12:03:10 +08:00
watchdog
xen xen/acpi: upload PM state from init-domain to Xen 2017-03-30 09:35:18 +02:00
zorro
Kconfig rk_headset: re-enable driver/headset_observe/ 2016-09-27 18:14:36 +08:00
Makefile rk_headset: re-enable driver/headset_observe/ 2016-09-27 18:14:36 +08:00