Skip to content

Dev/add iio mmc5983 driver - #5

Open
DNTT-1603 wants to merge 6 commits into
namtq1990:sprdfrom
DNTT-1603:dev/add-iio-mmc5983-driver
Open

Dev/add iio mmc5983 driver#5
DNTT-1603 wants to merge 6 commits into
namtq1990:sprdfrom
DNTT-1603:dev/add-iio-mmc5983-driver

Conversation

@DNTT-1603

Copy link
Copy Markdown

No description provided.

Fix bug by adding post-processing iqr to handgle enable/disable regulator.
[  202.140840] BUG: scheduling while atomic: gst-launch-1.0/1393/0x00010000
[  202.140887] Modules linked in: pwrseq_sd8787 bq27xxx_battery_i2c bq27xxx_battery bq24190_charger hmc5843_i2c hmc5843_core ov5640 wilc_sdio cfg80211 usb_f_fs usb_f_acm atmel_usba_udc u_serial libcomposite st7789v drm_mipi_dbi
[  202.141038] CPU: 0 PID: 1393 Comm: gst-launch-1.0 Not tainted 5.15.68-linux4microchip-2022.10+ #42
[  202.141064] Hardware name: Microchip SAM9X60
[  202.141084] [<c000f5b8>] (unwind_backtrace) from [<c000ca70>] (show_stack+0x10/0x18)
[  202.141152] [<c000ca70>] (show_stack) from [<c083e114>] (dump_stack+0x20/0x2c)
[  202.141199] [<c083e114>] (dump_stack) from [<c003d40c>] (__schedule_bug+0x58/0x80)
[  202.141245] [<c003d40c>] (__schedule_bug) from [<c084744c>] (__schedule+0x430/0x53c)
[  202.141289] [<c084744c>] (__schedule) from [<c08475cc>] (schedule+0x74/0xd4)
[  202.141327] [<c08475cc>] (schedule) from [<c084b7c8>] (schedule_timeout+0x74/0x154)
[  202.141373] [<c084b7c8>] (schedule_timeout) from [<c0847f88>] (__wait_for_common+0xa8/0x178)
[  202.141417] [<c0847f88>] (__wait_for_common) from [<c0533e2c>] (at91_twi_xfer+0x178/0x9c4)
[  202.141471] [<c0533e2c>] (at91_twi_xfer) from [<c052e294>] (__i2c_transfer+0x1b8/0x464)
[  202.141516] [<c052e294>] (__i2c_transfer) from [<c0530244>] (__i2c_smbus_xfer+0x304/0x92c)
[  202.141574] [<c0530244>] (__i2c_smbus_xfer) from [<c05308e4>] (i2c_smbus_xfer+0x78/0x120)
[  202.141621] [<c05308e4>] (i2c_smbus_xfer) from [<c0530a68>] (i2c_smbus_read_byte_data+0x3c/0x70)
[  202.141666] [<c0530a68>] (i2c_smbus_read_byte_data) from [<bf11a9c8>] (bq24190_check_status+0x18/0x27c [bq24190_charger])
[  202.141747] [<bf11a9c8>] (bq24190_check_status [bq24190_charger]) from [<bf11ac64>] (bq24190_runtime_resume+0x38/0x60 [bq24190_charger])
[  202.141829] [<bf11ac64>] (bq24190_runtime_resume [bq24190_charger]) from [<c0429130>] (__rpm_callback+0x34/0x150)
[  202.141901] [<c0429130>] (__rpm_callback) from [<c04292b0>] (rpm_callback+0x64/0x68)
[  202.141945] [<c04292b0>] (rpm_callback) from [<c0429804>] (rpm_resume+0x3d4/0x57c)
[  202.141989] [<c0429804>] (rpm_resume) from [<c04299e4>] (__pm_runtime_resume+0x38/0x44)
[  202.142033] [<c04299e4>] (__pm_runtime_resume) from [<bf1193d0>] (bq24190_vbus_is_enabled+0x18/0xc8 [bq24190_charger])
[  202.142097] [<bf1193d0>] (bq24190_vbus_is_enabled [bq24190_charger]) from [<c03889e8>] (regulator_is_enabled+0xfc/0x120)
[  202.142162] [<c03889e8>] (regulator_is_enabled) from [<c0505fd0>] (ohci_at91_otg_irq+0x1c/0xdc)
[  202.142211] [<c0505fd0>] (ohci_at91_otg_irq) from [<c0051c38>] (__handle_irq_event_percpu+0x40/0x148)
[  202.142260] [<c0051c38>] (__handle_irq_event_percpu) from [<c0051e0c>] (handle_irq_event+0x48/0xb0)
[  202.142301] [<c0051e0c>] (handle_irq_event) from [<c0055e08>] (handle_edge_irq+0x94/0x264)
[  202.142345] [<c0055e08>] (handle_edge_irq) from [<c0051570>] (generic_handle_domain_irq+0x30/0x44)
[  202.142387] [<c0051570>] (generic_handle_domain_irq) from [<c034a628>] (gpio_irq_handler+0x100/0x148)
[  202.142434] [<c034a628>] (gpio_irq_handler) from [<c0051624>] (handle_domain_irq+0x54/0x74)
[  202.142473] [<c0051624>] (handle_domain_irq) from [<c0341630>] (aic5_handle+0x8c/0xbc)
[  202.142520] [<c0341630>] (aic5_handle) from [<c00091f8>] (__irq_usr+0x58/0x80)
[  202.142558] Exception stack(0xc16b9fb0 to 0xc16b9ff8)
[  202.142582] 9fa0:                                     004a8040 00000013 004a804c 00000000
[  202.142611] 9fc0: 004a8040 00502090 00000000 b6f644c4 b6f65d44 004a804c 00000000 004a8008
[  202.142636] 9fe0: b6f6488c bec926f8 b6dfb754 b6f01f8c 80000010 ffffffff
fix build warning: ISO C90 forbids mixed declarations and code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant