opnsense-src/sys/dev/iicbus
Vladimir Kondratyev c53ec86f0e iichid(4): Do not power down opened device in attach handler
Some iichid(4) child devices, currently hkbd(4) only, opens parent
device in their attach handlers. That breaks internal iichid(4) state
leading to rejecting any incoming data on software and hardware levels.

Fix it with adding of extra state check in iichid(4) attach handler.

Reported by:	many
Submitted by:	trasz (initial version)
PR:		280290
MFC after:	3 days

(cherry picked from commit 018cb11cb7d412b031e1be681a6a19e734473f99)
2024-11-12 07:08:33 +03:00
..
adc iicbus: Move ADC drivers into a new adc subfolder 2023-10-18 16:32:11 +02:00
controller vf_i2c: update I2C controller logic 2024-04-01 23:46:11 +00:00
gpio sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mux iicbus/mux/pca954x: add support for PCA9546 I2C Switch 2024-04-01 23:46:10 +00:00
pmic rk8xx_poweroff: enable power-cycling on support hardware 2024-03-16 17:11:50 +02:00
pwm iicbus: Move adm1030 and adt746x to new pwm subdirectory 2023-10-18 16:32:10 +02:00
rtc ds1307(4): Fix a typo in a source code comment 2024-04-27 07:49:47 +02:00
sensor iicbus: Move i2c sensors drivers into new sensor subdirectory 2023-10-18 16:32:14 +02:00
acpi_iicbus.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
icee.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_ic.c net: Remove unneeded NULL check for the allocated ifnet 2024-07-12 20:03:37 +08:00
iic.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iic.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iic_recover_bus.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iic_recover_bus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicbb.c iicbb: Fix pause_sbt() arguments order 2024-01-19 11:34:58 -05:00
iicbb_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
iicbus.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iicbus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicbus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
iichid.c iichid(4): Do not power down opened device in attach handler 2024-11-12 07:08:33 +03:00
iiconf.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iiconf.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicsmb.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ofw_iicbus.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ofw_iicbus_if.m spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00