Guenter Roeck
8dea99cf8b
mfd: sm501: Set coherent_dma_mask when creating subdevices
[ Upstream commit 2f606da782 ]
Instantiating the sm501 OHCI subdevice results in a kernel warning.
sm501-usb sm501-usb: SM501 OHCI
sm501-usb sm501-usb: new USB bus registered, assigned bus number 1
WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516
ohci_init+0x194/0x2d8
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Tainted: G W
4.18.0-rc7-00178-g0b5b1f9a78b5 #1
PC is at ohci_init+0x194/0x2d8
PR is at ohci_init+0x168/0x2d8
PC : 8c27844c SP : 8f81dd94 SR : 40008001
TEA : 29613060
R0 : 00000000 R1 : 00000000 R2 : 00000000 R3 : 00000202
R4 : 8fa98b88 R5 : 8c277e68 R6 : 00000000 R7 : 00000000
R8 : 8f965814 R9 : 8c388100 R10 : 8fa98800 R11 : 8fa98928
R12 : 8c48302c R13 : 8fa98920 R14 : 8c48302c
MACH: 00000096 MACL: 0000017c GBR : 00000000 PR : 8c278420
Call trace:
[<(ptrval)>] usb_add_hcd+0x1e8/0x6ec
[<(ptrval)>] _dev_info+0x0/0x54
[<(ptrval)>] arch_local_save_flags+0x0/0x8
[<(ptrval)>] arch_local_irq_restore+0x0/0x24
[<(ptrval)>] ohci_hcd_sm501_drv_probe+0x114/0x2d8
...
Initialize coherent_dma_mask when creating SM501 subdevices to fix
the problem.
Fixes: b6d6454fdb ("mfd: SM501 core driver")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-15 09:46:48 +02:00
..
2016-11-17 16:10:24 +01:00
2016-11-29 08:21:29 +00:00
2017-09-05 08:46:00 +01:00
2018-06-12 16:19:22 -07:00
2016-11-29 08:21:31 +00:00
2017-02-13 09:29:43 +00:00
2018-05-16 09:21:48 +01:00
2016-08-08 12:53:26 +01:00
2016-10-04 15:48:03 +01:00
2017-04-27 09:25:04 +01:00
2018-05-16 09:21:48 +01:00
2017-12-28 12:26:35 +01:00
2017-02-13 09:29:40 +00:00
2016-04-19 07:54:50 +01:00
2016-05-09 08:24:46 +01:00
2018-06-04 08:44:17 +01:00
2018-01-08 11:03:35 +00:00
2016-10-04 15:48:04 +01:00
2018-05-29 09:09:29 +01:00
2016-11-29 08:21:25 +00:00
2017-09-05 08:46:00 +01:00
2018-05-16 09:21:48 +01:00
2016-11-29 08:21:33 +00:00
2018-04-23 17:53:45 +01:00
2018-06-12 16:19:22 -07:00
2017-12-15 10:46:06 +00:00
2018-05-29 09:11:12 +01:00
2018-05-23 06:59:00 +01:00
2018-06-11 07:20:17 -07:00
2016-11-21 13:00:18 +00:00
2017-09-05 08:46:00 +01:00
2017-09-05 08:46:01 +01:00
2017-09-05 08:46:01 +01:00
2018-05-16 09:21:48 +01:00
2016-10-04 15:48:01 +01:00
2016-10-04 15:48:01 +01:00
2016-10-04 15:48:01 +01:00
2016-11-29 08:21:27 +00:00
2017-08-22 15:49:33 +02:00
2017-08-15 08:06:14 +01:00
2017-07-06 08:29:12 +01:00
2017-10-24 09:12:14 +01:00
2018-09-09 10:32:36 +02:00
2017-09-05 08:46:00 +01:00
2018-06-12 16:19:22 -07:00
2016-10-04 15:48:03 +01:00
2018-05-16 14:35:24 +02:00
2017-06-19 15:45:01 +01:00
2017-10-13 10:42:58 +01:00
2017-07-06 08:29:13 +01:00
2018-01-08 11:03:35 +00:00
2017-09-05 08:46:02 +01:00
2017-09-05 08:46:02 +01:00
2017-04-27 09:25:04 +01:00
2018-06-04 08:44:17 +01:00
2018-06-04 06:48:22 +01:00
2017-10-05 12:59:54 +02:00
2017-07-06 08:29:11 +01:00
2018-05-16 09:21:48 +01:00
2018-05-16 09:21:48 +01:00
2018-01-08 11:03:35 +00:00
2018-01-08 11:03:34 +00:00
2016-10-04 15:48:04 +01:00
2016-04-19 07:55:23 +01:00
2016-04-11 13:31:40 +01:00
2017-09-05 08:46:01 +01:00
2018-01-08 11:03:35 +00:00
2018-05-16 09:21:48 +01:00
2017-09-05 08:46:00 +01:00
2016-10-04 15:48:05 +01:00
2018-05-16 09:21:48 +01:00
2017-09-05 08:46:00 +01:00
2016-10-04 15:48:02 +01:00
2016-12-14 10:54:27 +01:00
2017-02-13 09:29:43 +00:00
2017-10-13 10:42:58 +01:00
2018-01-08 11:03:35 +00:00
2018-04-16 13:01:36 +01:00
2017-04-27 11:54:46 +01:00
2016-04-19 07:55:30 +01:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-04-16 15:16:11 +01:00
2017-10-24 09:12:14 +01:00
2018-06-04 08:44:17 +01:00
2018-05-16 09:21:48 +01:00
2018-01-08 11:03:34 +00:00
2018-05-16 09:21:48 +01:00
2016-10-04 15:48:02 +01:00
2018-06-06 11:15:43 -07:00
2018-06-04 06:47:52 +01:00
2018-05-16 09:21:48 +01:00
2016-05-09 13:27:38 +01:00
2018-05-16 09:21:48 +01:00
2016-04-19 07:55:52 +01:00
2017-07-18 08:27:18 +01:00
2017-08-21 08:54:56 +01:00
2017-07-06 08:29:11 +01:00
2016-04-19 07:56:17 +01:00
2016-05-09 13:27:38 +01:00
2016-05-09 13:27:38 +01:00
2018-05-16 09:21:48 +01:00
2016-04-19 07:56:28 +01:00
2018-09-15 09:46:48 +02:00
2018-05-16 09:21:48 +01:00
2018-06-12 16:19:22 -07:00
2017-11-01 09:32:23 +00:00
2017-04-27 09:25:05 +01:00
2018-01-08 11:03:35 +00:00
2018-05-16 09:10:38 +01:00
2016-08-10 09:25:18 +01:00
2017-04-27 09:25:07 +01:00
2016-08-10 09:25:18 +01:00
2017-10-13 10:42:58 +01:00
2016-11-29 08:21:26 +00:00
2017-02-13 09:29:40 +00:00
2018-05-16 09:21:48 +01:00
2017-09-05 08:46:01 +01:00
2016-11-29 08:21:19 +00:00
2017-07-06 08:29:12 +01:00
2018-05-16 09:21:48 +01:00
2017-04-27 09:25:04 +01:00
2018-06-14 16:21:46 +09:00
2018-01-08 11:03:34 +00:00
2017-07-18 08:27:37 +01:00
2016-06-29 10:14:35 +01:00
2018-05-16 09:21:48 +01:00
2017-08-15 08:27:22 +01:00
2018-05-16 09:21:48 +01:00
2017-10-13 10:42:58 +01:00
2017-10-13 10:42:59 +01:00
2018-05-16 09:21:48 +01:00
2018-05-16 09:21:48 +01:00
2016-11-29 08:21:21 +00:00
2017-02-13 09:29:43 +00:00
2017-04-27 09:25:04 +01:00
2018-05-16 09:21:48 +01:00
2018-05-16 09:21:48 +01:00
2017-11-29 16:28:45 +00:00
2017-09-04 14:41:02 +01:00
2017-09-04 14:41:02 +01:00
2018-05-16 09:21:48 +01:00
2017-11-29 16:29:36 +00:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2016-10-04 15:48:03 +01:00
2016-04-19 07:59:06 +01:00
2018-05-16 09:21:48 +01:00
2016-05-09 13:27:39 +01:00
2018-06-11 09:11:03 +01:00
2017-07-06 08:29:11 +01:00
2017-07-06 08:29:11 +01:00
2017-03-23 11:45:50 +00:00
2017-07-06 08:29:11 +01:00
2016-11-29 08:21:26 +00:00
2016-05-09 15:41:35 +01:00
2016-05-09 08:23:56 +01:00
2018-06-12 16:19:22 -07:00