roll: third_party/pigweed pw_spi_linux: Avoid unneccessary ioctl()s in Configure()
Initiator::Configure() is called on every Device::WriteRead() call, in
case different devices on the bus use different configuration.
Avoid unnecessary ioctl() calls by recording the current configuration
and skipping Configure() if the new config is not actually different.
If the pw::spi::Initiator base class were using the non-virtual
interface (NVI) pattern, this could be implemented there and apply to
all initiator implementations.
Test: Verified downstream project still works and redundant ioctls no
longer happen
Original-Bug: 366541694
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/235877
Original-Revision: eefd313bdb13098552cd713598b937debe80d3d4
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: f66eafb0d8d1b5..eefd313bdb1309
Roller-URL: https://ci.chromium.org/b/8736620221636290081
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I21dbc82d6613640adadc0e8dc47c08218085d119
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/236194
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed
index f66eafb..eefd313 160000
--- a/third_party/pigweed
+++ b/third_party/pigweed
@@ -1 +1 @@
-Subproject commit f66eafb0d8d1b5508ddf491eaa07e9b0f6268751
+Subproject commit eefd313bdb13098552cd713598b937debe80d3d4