Skip to content

Commit fd2aa84

Browse files
committed
Merge tag 'v4.9.239' into R
This is the 4.9.239 stable release
2 parents d340fba + 99fea56 commit fd2aa84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+414
-285
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VERSION = 4
22
PATCHLEVEL = 9
3-
SUBLEVEL = 238
3+
SUBLEVEL = 239
44
EXTRAVERSION =
55
NAME = Roaring Lionus
66

drivers/base/dd.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ static int really_probe(struct device *dev, struct device_driver *drv)
364364
drv->bus->name, __func__, drv->name, dev_name(dev));
365365
if (!list_empty(&dev->devres_head)) {
366366
dev_crit(dev, "Resources present before probing\n");
367-
return -EBUSY;
367+
ret = -EBUSY;
368+
goto done;
368369
}
369370

370371
re_probe:
@@ -467,7 +468,7 @@ static int really_probe(struct device *dev, struct device_driver *drv)
467468
ret = 0;
468469
done:
469470
atomic_dec(&probe_count);
470-
wake_up(&probe_waitqueue);
471+
wake_up_all(&probe_waitqueue);
471472
return ret;
472473
}
473474

drivers/clk/samsung/clk-exynos4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ static const struct samsung_gate_clock exynos4210_gate_clks[] __initconst = {
10601060
GATE(CLK_PCIE, "pcie", "aclk133", GATE_IP_FSYS, 14, 0, 0),
10611061
GATE(CLK_SMMU_PCIE, "smmu_pcie", "aclk133", GATE_IP_FSYS, 18, 0, 0),
10621062
GATE(CLK_MODEMIF, "modemif", "aclk100", GATE_IP_PERIL, 28, 0, 0),
1063-
GATE(CLK_CHIPID, "chipid", "aclk100", E4210_GATE_IP_PERIR, 0, 0, 0),
1063+
GATE(CLK_CHIPID, "chipid", "aclk100", E4210_GATE_IP_PERIR, 0, CLK_IGNORE_UNUSED, 0),
10641064
GATE(CLK_SYSREG, "sysreg", "aclk100", E4210_GATE_IP_PERIR, 0,
10651065
CLK_IGNORE_UNUSED, 0),
10661066
GATE(CLK_HDMI_CEC, "hdmi_cec", "aclk100", E4210_GATE_IP_PERIR, 11, 0,
@@ -1101,7 +1101,7 @@ static const struct samsung_gate_clock exynos4x12_gate_clks[] __initconst = {
11011101
0),
11021102
GATE(CLK_TSADC, "tsadc", "aclk133", E4X12_GATE_BUS_FSYS1, 16, 0, 0),
11031103
GATE(CLK_MIPI_HSI, "mipi_hsi", "aclk133", GATE_IP_FSYS, 10, 0, 0),
1104-
GATE(CLK_CHIPID, "chipid", "aclk100", E4X12_GATE_IP_PERIR, 0, 0, 0),
1104+
GATE(CLK_CHIPID, "chipid", "aclk100", E4X12_GATE_IP_PERIR, 0, CLK_IGNORE_UNUSED, 0),
11051105
GATE(CLK_SYSREG, "sysreg", "aclk100", E4X12_GATE_IP_PERIR, 1,
11061106
CLK_IGNORE_UNUSED, 0),
11071107
GATE(CLK_HDMI_CEC, "hdmi_cec", "aclk100", E4X12_GATE_IP_PERIR, 11, 0,

drivers/gpio/gpio-tc3589x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ static void tc3589x_gpio_irq_sync_unlock(struct irq_data *d)
210210
continue;
211211

212212
tc3589x_gpio->oldregs[i][j] = new;
213-
tc3589x_reg_write(tc3589x, regmap[i] + j * 8, new);
213+
tc3589x_reg_write(tc3589x, regmap[i] + j, new);
214214
}
215215
}
216216

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ int amdgpu_crtc_set_config(struct drm_mode_set *set)
283283
take the current one */
284284
if (active && !adev->have_disp_power_ref) {
285285
adev->have_disp_power_ref = true;
286-
goto out;
286+
return ret;
287287
}
288288
/* if we have no active crtcs, then drop the power ref
289289
we got before */

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ static int amdgpu_ttm_tt_pin_userptr(struct ttm_tt *ttm)
637637

638638
release_sg:
639639
kfree(ttm->sg);
640+
ttm->sg = NULL;
640641
return r;
641642
}
642643

drivers/i2c/busses/i2c-cpm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ struct i2c_ram {
7474
char res1[4]; /* Reserved */
7575
ushort rpbase; /* Relocation pointer */
7676
char res2[2]; /* Reserved */
77+
/* The following elements are only for CPM2 */
78+
char res3[4]; /* Reserved */
79+
uint sdmatmp; /* Internal */
7780
};
7881

7982
#define I2COM_START 0x80

drivers/input/serio/i8042-x86ia64io.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,13 @@ static const struct dmi_system_id __initconst i8042_dmi_nopnp_table[] = {
797797
DMI_MATCH(DMI_BOARD_VENDOR, "MICRO-STAR INTERNATIONAL CO., LTD"),
798798
},
799799
},
800+
{
801+
/* Acer Aspire 5 A515 */
802+
.matches = {
803+
DMI_MATCH(DMI_BOARD_NAME, "Grumpy_PK"),
804+
DMI_MATCH(DMI_BOARD_VENDOR, "PK"),
805+
},
806+
},
800807
{ }
801808
};
802809

drivers/iommu/exynos-iommu.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,13 +1265,17 @@ static int exynos_iommu_of_xlate(struct device *dev,
12651265
return -ENODEV;
12661266

12671267
data = platform_get_drvdata(sysmmu);
1268-
if (!data)
1268+
if (!data) {
1269+
put_device(&sysmmu->dev);
12691270
return -ENODEV;
1271+
}
12701272

12711273
if (!owner) {
12721274
owner = kzalloc(sizeof(*owner), GFP_KERNEL);
1273-
if (!owner)
1275+
if (!owner) {
1276+
put_device(&sysmmu->dev);
12741277
return -ENOMEM;
1278+
}
12751279

12761280
INIT_LIST_HEAD(&owner->controllers);
12771281
dev->archdata.iommu = owner;

drivers/mtd/nand/sunxi_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2108,7 +2108,7 @@ static int sunxi_nand_chip_init(struct device *dev, struct sunxi_nfc *nfc,
21082108
ret = mtd_device_register(mtd, NULL, 0);
21092109
if (ret) {
21102110
dev_err(dev, "failed to register mtd device: %d\n", ret);
2111-
nand_release(nand);
2111+
nand_cleanup(nand);
21122112
return ret;
21132113
}
21142114

0 commit comments

Comments
 (0)