Gene Chen
bf6b694a6a
mfd: mt6360: Fix register driver NULL pointer by adding driver name
The driver name was accidentally removed when .probe() by was replaced
by .probe_new() during an early patch review.
[ 121.243012] EAX: c2a8bc64 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 121.243012] ESI: c2a8bc79 EDI: 00000000 EBP: e54bdea8 ESP: e54bdea0
[ 121.243012] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00010286
[ 121.243012] CR0: 80050033 CR2: 00000000 CR3: 02ec3000 CR4: 000006b0
[ 121.243012] Call Trace:
[ 121.243012] kset_find_obj+0x3d/0xc0
[ 121.243012] driver_find+0x16/0x40
[ 121.243012] driver_register+0x49/0x100
[ 121.243012] ? i2c_for_each_dev+0x39/0x50
[ 121.243012] ? __process_new_adapter+0x20/0x20
[ 121.243012] ? cht_wc_driver_init+0x11/0x11
[ 121.243012] i2c_register_driver+0x30/0x80
[ 121.243012] ? intel_lpss_pci_driver_init+0x16/0x16
[ 121.243012] mt6360_pmu_driver_init+0xf/0x11
[ 121.243012] do_one_initcall+0x33/0x1a0
[ 121.243012] ? parse_args+0x1eb/0x3d0
[ 121.243012] ? __might_sleep+0x31/0x90
[ 121.243012] ? kernel_init_freeable+0x10a/0x17f
[ 121.243012] kernel_init_freeable+0x12c/0x17f
[ 121.243012] ? rest_init+0x110/0x110
[ 121.243012] kernel_init+0xb/0x100
[ 121.243012] ? schedule_tail_wrapper+0x9/0xc
[ 121.243012] ret_from_fork+0x19/0x24
[ 121.243012] Modules linked in:
[ 121.243012] CR2: 0000000000000000
[ 121.243012] random: get_random_bytes called from init_oops_id+0x3a/0x40 with crng_init=0
[ 121.243012] ---[ end trace 38a803400f1a2bee ]---
[ 121.243012] EIP: strcmp+0x11/0x30
Fixes: 7edd363421dab ("mfd: Add support for PMIC MT6360")
Signed-off-by: Gene Chen <gene_chen@richtek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@kernel.org>
[Lee: Taking the opportunity to fix the compatible string too 's/_/-/']
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2020-06-16 09:32:43 +01:00
..
2019-06-19 17:09:55 +02:00
2019-08-12 08:51:45 +01:00
2015-08-11 15:08:48 +01:00
2019-08-12 08:51:50 +01:00
2019-06-19 17:09:55 +02:00
2020-03-30 07:35:28 +01:00
2019-08-12 08:51:54 +01:00
2019-08-12 07:27:40 +01:00
2020-01-24 07:33:57 +00:00
2019-10-18 19:37:45 +01:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:29:52 -07:00
2019-07-30 13:07:41 +02:00
2019-11-11 08:45:02 +00:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:04 +02:00
2019-05-30 11:26:35 -07:00
2019-08-14 09:07:20 +01:00
2019-02-07 10:44:09 +00:00
2019-06-19 17:09:07 +02:00
2020-01-07 10:08:58 +00:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-01-24 07:33:57 +00:00
2019-08-12 08:51:58 +01:00
2019-01-09 16:55:09 +01:00
2019-01-03 08:32:42 +00:00
2020-03-30 07:34:56 +01:00
2020-01-24 07:33:58 +00:00
2019-06-19 17:09:55 +02:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-11-11 08:45:03 +00:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-03-30 07:35:28 +01:00
2019-05-14 08:13:26 +01:00
2019-05-14 08:13:26 +01:00
2019-05-14 08:13:26 +01:00
2019-08-12 08:52:03 +01:00
2019-07-25 14:21:43 +01:00
2020-01-24 07:33:58 +00:00
2019-05-30 11:29:22 -07:00
2020-03-30 07:35:28 +01:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:11 +02:00
2019-09-02 11:05:37 +01:00
2019-08-12 11:29:47 +01:00
2020-05-20 10:28:57 +01:00
2019-07-15 20:18:40 -07:00
2019-06-19 17:09:55 +02:00
2020-05-26 10:51:19 +01:00
2019-06-05 17:37:17 +02:00
2018-10-23 08:58:34 +01:00
2020-04-24 11:18:44 +01:00
2020-05-25 11:05:09 +02:00
2020-04-24 11:17:58 +01:00
2018-10-23 08:58:34 +01:00
2019-05-14 08:13:25 +01:00
2020-01-03 11:47:00 +01:00
2018-10-23 08:58:34 +01:00
2019-12-01 16:16:31 -08:00
2020-04-24 11:18:03 +01:00
2019-09-02 11:09:03 +01:00
2020-05-26 10:51:20 +01:00
2019-11-11 08:40:21 +00:00
2019-06-19 17:09:55 +02:00
2020-01-09 15:30:59 -08:00
2019-11-11 08:45:01 +00:00
2020-03-27 08:25:37 +00:00
2019-05-30 11:26:32 -07:00
2020-06-14 01:57:21 +09:00
2019-06-05 17:36:38 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-02-07 10:44:00 +00:00
2016-10-04 15:48:04 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-15 20:18:40 -07:00
2019-06-05 17:36:38 +02:00
2019-06-05 17:36:38 +02:00
2020-01-24 07:33:58 +00:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2020-05-27 07:46:18 +01:00
2019-08-12 08:53:58 +01:00
2019-06-19 17:09:55 +02:00
2019-08-12 08:54:10 +01:00
2018-10-23 08:58:34 +01:00
2019-08-12 08:53:58 +01:00
2018-10-23 08:58:34 +01:00
2019-08-12 08:53:58 +01:00
2019-08-12 08:53:58 +01:00
2020-05-26 10:51:21 +01:00
2019-05-08 12:06:21 +01:00
2018-10-23 08:58:34 +01:00
2019-08-12 08:53:58 +01:00
2019-08-12 08:54:05 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:29:19 -07:00
2019-05-30 11:29:19 -07:00
2019-07-15 20:18:40 -07:00
2019-05-30 11:26:32 -07:00
2019-11-11 11:23:57 +00:00
2019-06-19 17:09:55 +02:00
2020-05-26 10:41:40 +01:00
2020-05-21 08:55:29 +01:00
2020-06-16 09:32:43 +01:00
2020-05-21 08:55:29 +01:00
2020-05-21 08:54:40 +01:00
2019-05-30 11:26:37 -07:00
2020-03-30 07:35:27 +01:00
2020-03-30 07:35:27 +01:00
2019-08-12 08:54:16 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-08-12 11:29:47 +01:00
2020-03-30 07:34:57 +01:00
2019-11-11 08:45:02 +00:00
2019-01-03 08:32:42 +00:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:29:52 -07:00
2019-05-24 17:36:45 +02:00
2017-07-18 08:27:18 +01:00
2020-03-30 07:35:28 +01:00
2020-03-27 09:42:44 +00:00
2020-01-24 07:22:31 +00:00
2020-01-24 07:21:48 +00:00
2020-01-24 07:22:43 +00:00
2019-06-05 17:37:18 +02:00
2019-05-14 08:13:25 +01:00
2019-05-14 08:13:25 +01:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-19 17:09:07 +02:00
2020-05-18 10:12:41 +02:00
2018-05-16 09:21:48 +01:00
2020-05-26 10:51:20 +01:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2018-01-08 11:03:35 +00:00
2020-05-26 10:51:20 +01:00
2020-05-26 10:51:21 +01:00
2019-06-19 17:09:10 +02:00
2019-06-19 17:09:10 +02:00
2019-06-19 17:09:10 +02:00
2019-06-19 17:09:10 +02:00
2020-05-26 10:51:20 +01:00
2019-05-30 11:29:22 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:29:22 -07:00
2020-01-24 07:33:59 +00:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:10 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-11-11 11:26:26 +00:00
2019-07-09 08:59:39 -07:00
2019-08-12 08:46:29 +01:00
2019-05-30 11:29:19 -07:00
2019-06-19 17:09:55 +02:00
2019-11-20 17:10:36 +00:00
2016-06-29 10:14:35 +01:00
2019-06-19 17:09:55 +02:00
2019-05-24 17:36:45 +02:00
2016-03-16 08:50:15 +00:00
2019-05-30 11:29:52 -07:00
2017-10-13 10:42:58 +01:00
2019-02-01 08:21:13 +00:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2016-11-29 08:21:21 +00:00
2017-02-13 09:29:43 +00:00
2019-05-14 08:13:27 +01:00
2019-02-07 10:44:14 +00:00
2019-08-12 08:40:45 +01:00
2020-05-26 10:51:20 +01:00
2019-06-05 17:37:07 +02:00
2019-05-30 11:26:35 -07:00
2017-09-04 14:41:02 +01:00
2019-05-30 11:26:35 -07:00
2019-06-05 17:37:07 +02:00
2019-08-12 08:53:58 +01:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:29:19 -07:00
2019-05-30 11:29:19 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-05-13 12:42:46 -05:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2020-05-26 10:51:21 +01:00
2019-06-05 17:37:07 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-05-26 10:51:20 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-11-11 08:45:02 +00:00