[PATCH 1/2] em28xx: allow setting the eeprom bus at cards struct

2017-05-01 Thread Mauro Carvalho Chehab
Right now, all devices use bus 0 for eeprom. However, newer versions of Terratec H6 use a different buffer for eeprom. So, add support to use a different I2C address for eeprom. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/em28xx/em28xx-cards.c | 1 + drivers/media/usb/em28xx/em28

[PATCH 2/2] em28xx: add support for new revisions of Terratec H6

2017-05-01 Thread Mauro Carvalho Chehab
There's a new version of Terratec H6 with uses USB ID 0ccd:10b2. This version is similar to the old one (with is supported via the HTC entry), except that this one has the eeprom on the second bus. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/em28xx/em28xx-cards.c | 19

Re: [PATCH 1/2] em28xx: allow setting the eeprom bus at cards struct

2017-05-01 Thread Frank Schäfer
Am 01.05.2017 um 13:38 schrieb Mauro Carvalho Chehab: > Right now, all devices use bus 0 for eeprom. However, newer > versions of Terratec H6 use a different buffer for eeprom. > > So, add support to use a different I2C address for eeprom. Has this been tested ? Did you read my reply to the previ

Re: [PATCH 1/2] em28xx: allow setting the eeprom bus at cards struct

2017-05-01 Thread Devin Heitmueller
On Mon, May 1, 2017 at 10:11 AM, Frank Schäfer wrote: > > Am 01.05.2017 um 13:38 schrieb Mauro Carvalho Chehab: >> Right now, all devices use bus 0 for eeprom. However, newer >> versions of Terratec H6 use a different buffer for eeprom. >> >> So, add support to use a different I2C address for eepr

Re: converting Documentation/security/* to .rst

2017-05-01 Thread Jonathan Corbet
On Fri, 28 Apr 2017 13:24:36 -0700 Kees Cook wrote: > I was curious if the conversion of security/ (and prctl/ which only > has two files that should probably both be moved to security/) was > already on someone's TODO list? I'd love to get these done (I refer > people regularly to seccomp_filter

[PULL] Docs for 4.12

2017-05-01 Thread Jonathan Corbet
The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) are available in the git repository at: git://git.lwn.net/linux.git tags/docs-4.12 for you to fetch changes up to 9bb0e9cb04c82d6bf0e72f3207307d621083b801: docs: Fix a

Re: converting Documentation/security/* to .rst

2017-05-01 Thread Kees Cook
On Mon, May 1, 2017 at 8:11 AM, Jonathan Corbet wrote: > On Fri, 28 Apr 2017 13:24:36 -0700 > Kees Cook wrote: > >> I was curious if the conversion of security/ (and prctl/ which only >> has two files that should probably both be moved to security/) was >> already on someone's TODO list? I'd love

Re: [PATCH 1/2] em28xx: allow setting the eeprom bus at cards struct

2017-05-01 Thread Mauro Carvalho Chehab
Hi Frank, Em Mon, 1 May 2017 16:11:51 +0200 Frank Schäfer escreveu: > Am 01.05.2017 um 13:38 schrieb Mauro Carvalho Chehab: > > Right now, all devices use bus 0 for eeprom. However, newer > > versions of Terratec H6 use a different buffer for eeprom. > > > > So, add support to use a different I2

ReST style guide?

2017-05-01 Thread Kees Cook
Hi, While doing some .txt conversions to .rst, I ended up with several questions about markup style, and in looking at existing .rst files, there didn't seem to be a common methodology. I'd love to have definitive guide to how to do these things in the kernel documentation: - how to mark and link

Re: ReST style guide?

2017-05-01 Thread Mauro Carvalho Chehab
Hi Kees, Em Mon, 1 May 2017 14:24:24 -0700 Kees Cook escreveu: > Hi, > > While doing some .txt conversions to .rst, I ended up with several > questions about markup style, and in looking at existing .rst files, > there didn't seem to be a common methodology. Well, some maintainers prefer to ke

Re: ReST style guide?

2017-05-01 Thread Mauro Carvalho Chehab
Em Mon, 1 May 2017 21:48:50 -0300 Mauro Carvalho Chehab escreveu: > Hi Kees, > > Em Mon, 1 May 2017 14:24:24 -0700 > Kees Cook escreveu: > > > Hi, > > > > While doing some .txt conversions to .rst, I ended up with several > > questions about markup style, and in looking at existing .rst files

[RFC PATCH 3/3] hwmon: (adt7475) temperature smoothing

2017-05-01 Thread Chris Packham
When enabled temperature smoothing allows ramping the fan speed over a configurable period of time instead of jumping to the new speed instantaneously. Signed-off-by: Chris Packham --- Documentation/hwmon/adt7475 | 5 ++ drivers/hwmon/adt7475.c | 121 +++

[PATCH 2/3] hwmon: (adt7475) fan stall prevention

2017-05-01 Thread Chris Packham
By default adt7475 will stop the fans (pwm duty cycle 0%) when the temperature drops past Tmin - hysteresis. Some systems want to keep the fans moving even when the temperature drops so add new sysfs attributes that configure the enhanced acoustics min 1-3 which allows the fans to run at the minimu