[Midnightbsd-cvs] [MidnightBSD/src] fb2d6e: ig4_iic: Allow sleeping if called from iichid inte...

Vladimir Kondratyev noreply at github.com
Sun Jan 18 13:58:56 EST 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: fb2d6e8c958f4c8a330324a1b182119aa85de97c
      https://github.com/MidnightBSD/src/commit/fb2d6e8c958f4c8a330324a1b182119aa85de97c
  Author: Vladimir Kondratyev <wulf at FreeBSD.org>
  Date:   2026-01-18 (Sun, 18 Jan 2026)

  Changed paths:
    M sys/dev/ichiic/ig4_iic.c
    M sys/dev/ichiic/ig4_var.h
    M sys/dev/iicbus/iichid.c

  Log Message:
  -----------
  ig4_iic: Allow sleeping if called from iichid interrupt handler.

This replaces 50 ms busy loop with mtx_sleep for the same duration thus
saving CPU time when iichid is driven with interrupts.

Sponsored by:	Future Crew, LLC
MFC after:	2 month
Differential Revision:	https://reviews.freebsd.org/D48956



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list