linux/drivers/staging
Andy Shevchenko 9ed2bfb3e3 staging: fbtft: convert fbtft_reset() to be non-atomic
First of all, fbtft in current state doesn't allow to override GPIOs to be
optional, like "reset" one. It might be a bug somewhere, but rather out of
scope of this fix.

Second, not all GPIOs available on the board would be SoC based, some of them
might sit on I2C GPIO expanders, for example, on Intel Edison/Arduino, and thus
any communication with them might sleep.

Besides that using udelay() and mdelay() is kinda resource wasteful.

Summarize all of the above, convert fbtft_reset() function to non-atomic
variant by using gpio_set_value_cansleep(), usleep_range(), and msleep().

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-19 12:50:27 +01:00
..
android staging: android/ion: Use variable names in header 2017-01-16 18:10:26 +01:00
board staging: board: Remove calls to of_genpd_get_from_provider() 2016-09-13 02:49:33 +02:00
clocking-wizard staging: clocking-wizard: Fix incorrect type of speed grade 2016-10-25 09:54:32 +02:00
comedi staging: comedi: ni_pcimio: Support more PXI cards 2017-01-19 10:49:50 +01:00
dgnc staging: dgnc: update TODO file 2017-01-03 15:34:06 +01:00
emxx_udc staging: emxx_udc: Fix CamelCase variable name 2017-01-03 16:42:22 +01:00
fbtft staging: fbtft: convert fbtft_reset() to be non-atomic 2017-01-19 12:50:27 +01:00
fsl-mc staging: fsl-mc: remove unnecessary info prints from bus driver 2016-12-08 21:00:08 +01:00
fwserial Staging: fwserial: remove unused function fill_unplug_req 2016-10-16 10:25:09 +02:00
gdm724x staging: gdm724x: cleanup long lines to conform to kernel coding style 2017-01-07 17:04:04 +01:00
goldfish
greybus staging: greybus: audio: Ensure proper byte order 2017-01-19 11:08:00 +01:00
gs_fpgaboot Staging: gs_fpgaboot: Use octal permissions '0444' 2016-10-25 09:40:44 +02:00
iio staging:iio:addac:adt7316 Fixes Alignment should match open parenthesis 2017-01-10 19:54:57 +00:00
ks7010 staging: ks7010: Fix brace style issue in ks_wlan_net.c 2017-01-16 18:08:57 +01:00
lustre staging: lustre: lnet: change sfw_counter_t to proper structure 2017-01-19 11:12:53 +01:00
media Staging: media: davinci_vpfe: style fix, using octal file permissions 2017-01-16 18:08:57 +01:00
most staging: most: hdm-usb: Fix mismatch between types used in sizeof operator 2017-01-16 18:08:56 +01:00
mt29f_spinand
netlogic Staging: netlogic: Compress return logic into one line 2016-10-16 10:27:33 +02:00
nvec staging: nvec: fix indent issue in nvec_power.c 2017-01-03 15:22:30 +01:00
octeon staging: octeon: Call SET_NETDEV_DEV() 2017-01-03 17:11:50 +01:00
octeon-usb staging: octeon-usb: Remove unnecessary assignment 2016-09-22 11:54:48 +02:00
olpc_dcon staging: olpc_dcon: olpc_dcon_xo_1_5: Remove multiple blank lines. 2017-01-10 17:40:15 +01:00
rtl8188eu staging: rtl8188eu: core: Remove NULL test before vfree 2017-01-19 11:32:29 +01:00
rtl8192e staging: rtl8192e: rtl8192e: Remove NULL test before vfree 2017-01-16 18:08:57 +01:00
rtl8192u staging: rtl8192u: Removed multiple white lines. 2017-01-16 18:08:57 +01:00
rtl8712 staging: rtl: fix possible NULL pointer dereference 2017-01-16 18:08:57 +01:00
rts5208 drivers: staging: rts5208: fix endianness handling 2017-01-16 18:08:57 +01:00
skein Staging: skein: checkpatch: fix comment aligning in skein_base.c 2017-01-03 16:33:17 +01:00
sm750fb staging:sm750fb:ddk750_chip.c removes un-necessary blank lines 2017-01-10 17:40:15 +01:00
speakup Staging: speakup: style fix, octal file permissions 2017-01-10 17:37:25 +01:00
unisys staging: unisys: visorbus: fix checkpatch block comments warning 2017-01-19 10:49:50 +01:00
vc04_services staging: vc04: Fix coding style errors "open brace go on the same line" 2017-01-19 11:30:32 +01:00
vme staging: vme: vme_user.c: fix warning 'line over 80 characters' 2017-01-16 18:08:56 +01:00
vt6655 staging: vt6655: Add spaces around + 2016-12-06 10:18:07 +01:00
vt6656 staging:vt6656:mac.c Aligned to match open parenthesis 2017-01-16 18:08:57 +01:00
wilc1000 staging:wilc1000:wilc_sdio.c Deleted un-needed blank lines 2017-01-16 18:10:25 +01:00
wlan-ng staging:wlan-ng:cfg80211.c Aligned code with open parenthesis 2017-01-16 18:10:25 +01:00
xgifb staging: xgifb: This patch removes the unnecessary return statement using spatch 2017-01-03 16:50:37 +01:00
Kconfig staging: i4l: delete the whole thing 2017-01-05 21:59:37 +01:00
Makefile staging: i4l: delete the whole thing 2017-01-05 21:59:37 +01:00