/* drivers/video/backlight/ili9320.h * * ILI9320 LCD controller driver core. * * Copyright 2007 Simtec Electronics * Ben Dooks * * http://armlinux.simtec.co.uk/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /* Holder for register and value pairs. */ struct ili9320_reg { unsigned short address; unsigned short value; }; struct ili9320; struct ili9320_client { const char *name; int (*init)(struct ili9320 *ili, struct ili9320_platdata *cfg); }; /* Device attached via an SPI bus. */ struct ili9320_spi { struct spi_device *dev; struct spi_message message; struct spi_transfer xfer[2]; unsigned char id; unsigned char buffer_addr[4]; unsigned char buffer_data[4]; }; /* ILI9320 device state. */ struct ili9320 { union { struct ili9320_spi spi; /* SPI attachged device. */ } access; /* Register access method. */ struct device *dev; struct lcd_device *lcd; /* LCD device we created. */ struct ili9320_client *client; struct ili9320_platdata *platdata; int power; /* current power state. */ int initialised; unsigned short display1; unsigned short power1; int (*write)(struct ili9320 *ili, unsigned int reg, unsigned int val); }; /* ILI9320 register access routines */ extern int ili9320_write(struct ili9320 *ili, unsigned int reg, unsigned int value); extern int ili9320_write_regs(struct ili9320 *ili, const struct ili9320_reg *values, int nr_values); /* Device probe */ extern int ili9320_probe_spi(struct spi_device *spi, struct ili9320_client *cli); extern int ili9320_remove(struct ili9320 *lcd); extern void ili9320_shutdown(struct ili9320 *lcd); /* PM */ extern int ili9320_suspend(struct ili9320 *lcd); extern int ili9320_resume(struct ili9320 *lcd); d=52f5631a4c056ad01682393be56d2be237e81610'>treecommitdiff
path: root/net/ceph/crypto.c
diff options
context:
space:
mode:
authorJurij Smakov <jurij@wooyd.org>2017-01-30 15:41:36 -0600
committerKalle Valo <kvalo@codeaurora.org>2017-01-31 09:05:25 +0200
commit52f5631a4c056ad01682393be56d2be237e81610 (patch)
tree53d1ddd2c1b179c808df10b6ce731ad26aa9f31b /net/ceph/crypto.c
parent2b1d530cb3157f828fcaadd259613f59db3c6d1c (diff)
rtlwifi: rtl8192ce: Fix loading of incorrect firmware
In commit cf4747d7535a ("rtlwifi: Fix regression caused by commit d86e64768859, an error in the edit results in the wrong firmware being loaded for some models of the RTL8188/8192CE. In this condition, the connection suffered from high ping latency, slow transfer rates, and required higher signal strengths to work at all See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853073, https://bugzilla.opensuse.org/show_bug.cgi?id=1017471, and https://github.com/lwfinger/rtlwifi_new/issues/203 for descriptions of the problems. This patch fixes all of those problems. Fixes: cf4747d7535a ("rtlwifi: Fix regression caused by commit d86e64768859") Signed-off-by: Jurij Smakov <jurij@wooyd.org> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> # 4.9+ Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net/ceph/crypto.c')