]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r289726:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2016 18:54:11 +0000 (18:54 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2016 18:54:11 +0000 (18:54 +0000)
commit04e8f94faa9f15a40df961ce1a3e21414f0a772a
treeb087809b83f3032481110bad8c68a74bc9f9eb21
parent1abbcf91972213419269e21a34e34ee50f6047ae
MFC r289726:

  Add iicbus_transfer_excl(), a helper routine to do an i2c bus transaction
  while holding exclusive ownership of the bus.  This is the routine most
  slave drivers should use unless they have a need to acquire and hold the
  bus across a series of related operations that involves multiple transfers.

git-svn-id: svn://svn.freebsd.org/base/stable/10@294673 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/iicbus/iiconf.c
sys/dev/iicbus/iiconf.h