<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers/media/i2c/smiapp, branch master</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2020-01-03T15:38:06+00:00</updated>
<entry>
<title>media: smiapp: Put the device again if starting streaming fails</title>
<updated>2020-01-03T15:38:06+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-11T09:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=22ad4e05585cb50c486b05bdaa4b4a4686074ff7'/>
<id>urn:sha1:22ad4e05585cb50c486b05bdaa4b4a4686074ff7</id>
<content type='text'>
If there was an error in starting streaming, put the runtime usage count
of the device.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Avoid maintaining power state information</title>
<updated>2020-01-03T15:37:39+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-09-30T08:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=96e3a6b92f23a97ca9bf3359ada1b5c773b32b7e'/>
<id>urn:sha1:96e3a6b92f23a97ca9bf3359ada1b5c773b32b7e</id>
<content type='text'>
Instead of keeping track of the power state ourselves, let runtime PM
handle it.

This also splits handling controls between side effect management and
writing the new configuration to the sensor's registers.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: unlock on error in smiapp_start_streaming()</title>
<updated>2019-11-05T11:20:22+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2019-10-29T18:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=17f74b145af3db5823c1a5d6ac9e34f983b789d4'/>
<id>urn:sha1:17f74b145af3db5823c1a5d6ac9e34f983b789d4</id>
<content type='text'>
We added two new error paths to smiapp_start_streaming(), but we can't
return directly without dropping the "sensor-&gt;mutex" lock.

Fixes: f8c4352c1bef ("media: smiapp: Move binning configuration to streaming start")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Rename update_mode as pll_blanking_update</title>
<updated>2019-10-24T21:56:37+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-02T10:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=d3bec7fc117922b9cf7a2c5b784efd5357695448'/>
<id>urn:sha1:d3bec7fc117922b9cf7a2c5b784efd5357695448</id>
<content type='text'>
Rename the confusingly named smiapp_update_mode() function as
smiapp_pll_blanking_update(). The function is used to calculate new PLL
and blanking configuration after binning or scaling configuration has been
changed.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Register sensor after enabling runtime PM on the device</title>
<updated>2019-10-24T21:56:18+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-11T11:16:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=90c9e4a4dba9f4de331372e745fb1991c1faa598'/>
<id>urn:sha1:90c9e4a4dba9f4de331372e745fb1991c1faa598</id>
<content type='text'>
Earlier it was possible that the parts of the driver that assumed runtime
PM was enabled were being called before runtime PM was enabled in the
driver's probe function. So enable runtime PM before registering the
sub-device.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Use non-binned and binned limits correctly</title>
<updated>2019-10-24T21:55:59+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-01T12:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=579d1f7d4fb90b7d06be96ac67b4665dc0d1bcb7'/>
<id>urn:sha1:579d1f7d4fb90b7d06be96ac67b4665dc0d1bcb7</id>
<content type='text'>
Use non-binned limits when binning is disabled and binned when they're
enabled.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Don't update sensor configuration during power-on init</title>
<updated>2019-10-24T21:55:39+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-01T11:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=da533bb0058b575958291b9296f1de7d1b1b5bc3'/>
<id>urn:sha1:da533bb0058b575958291b9296f1de7d1b1b5bc3</id>
<content type='text'>
The sensor configuration since it was previously powered off was not
changed, so no need to update the PLL configuration etc. What is necessary
though is to re-apply the configuration to the sensor's registers.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Move binning configuration to streaming start</title>
<updated>2019-10-24T21:55:18+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-01T11:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=f8c4352c1bef308578c2e310a37610db10c81332'/>
<id>urn:sha1:f8c4352c1bef308578c2e310a37610db10c81332</id>
<content type='text'>
Only write the binning configuration at stream start. It has no effect
otherwise.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Don't get binning limits dynamically</title>
<updated>2019-10-24T21:54:57+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-01T11:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=b0388c0727679f9e96f999ca712e6a263ffc00fb'/>
<id>urn:sha1:b0388c0727679f9e96f999ca712e6a263ffc00fb</id>
<content type='text'>
The driver implementation assumed the binning limits could change
dynamically based on the binning configuration. This is not actually the
case; these limits are static and suitable to be used with all binning
configurations but possibly not optimal limit for many of those
configurations.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: smiapp: Destroy sensor's mutex</title>
<updated>2019-10-24T21:54:30+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2019-10-17T11:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=4a9a75923acb7f6333a0f3c4090d20709710067a'/>
<id>urn:sha1:4a9a75923acb7f6333a0f3c4090d20709710067a</id>
<content type='text'>
Destroy the mutex initialised by the driver in probe.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
</feed>
