mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
spi: Fixes for v7.3
A couple of fixes that came in during the merge window, Geert fixed an uninitialised data bug in the amlogic-spisg driver which could crash and in the Loongson driver Li Jun hooked up the existing suspend operations more fully to fix hibernation. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmqQOiIACgkQJNaLcl1U h9Ctqgf/Z4nnPtUfZlh7ecod1NscPzlH/49BCTEK1+P17tP7c76FIKEM2ZBoJU7j MTJ6YkUzXkAp5uEyodLPqQiC6lr6XKTNGwO3Al4Mz4toLMbHdnKrb5xZHClmkyFh LjHcvHijZL17Gt72fa4He6UtGx0y0mZBEnbiOkQA3Z4eMgHrL3Knw8i8xmz7sqoU K5vbgkHFgv5o75WhCQRzNakDMlssq8e8Xy2U+sxLsepJoTVbFg4RT6l0S+7iHPrk 05F/50dPbT/bd/jkFSji5ynpoLPEtBOle/vBLwbxwWzk0AOIxx2xhFVwXK6QEAMk 7zmTsceKe0wWcQW+rRKi+d6SMFPxMQ== =IW97 -----END PGP SIGNATURE----- Merge tag 'spi-fix-v7.3-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi Pull spi fixes from Mark Brown: "A couple of fixes that came in during the merge window: Geert fixed an uninitialised data bug in the amlogic-spisg driver which could crash and in the Loongson driver Li Jun hooked up the existing suspend operations more fully to fix hibernation" * tag 'spi-fix-v7.3-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: loongson: pm: add .freeze .poweroff .thaw .restore spi: amlogic-spisg: Make sure clk_init_data is fully initialized
This commit is contained in:
commit
9bb34313d9
|
|
@ -636,7 +636,7 @@ static int aml_spisg_target_abort(struct spi_controller *ctlr)
|
|||
static int aml_spisg_clk_init(struct spisg_device *spisg, void __iomem *base)
|
||||
{
|
||||
struct device *dev = &spisg->pdev->dev;
|
||||
struct clk_init_data init;
|
||||
struct clk_init_data init = {};
|
||||
struct clk_divider *div;
|
||||
struct clk_div_table *tbl;
|
||||
char name[32];
|
||||
|
|
|
|||
|
|
@ -269,10 +269,8 @@ static int loongson_spi_resume(struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
const struct dev_pm_ops loongson_spi_dev_pm_ops = {
|
||||
.suspend = loongson_spi_suspend,
|
||||
.resume = loongson_spi_resume,
|
||||
};
|
||||
DEFINE_SIMPLE_DEV_PM_OPS(loongson_spi_dev_pm_ops, loongson_spi_suspend, loongson_spi_resume);
|
||||
|
||||
EXPORT_SYMBOL_NS_GPL(loongson_spi_dev_pm_ops, "SPI_LOONGSON_CORE");
|
||||
|
||||
MODULE_DESCRIPTION("Loongson SPI core driver");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user