[GIT,PULL,FOR,3.2] misc small changes, mostly get/set IF related
Message ID | 4EC016B9.1080306@iki.fi (mailing list archive) |
---|---|
State | Accepted, archived |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <linux-media-owner@vger.kernel.org>) id 1RPfUG-0000f0-W8; Sun, 13 Nov 2011 20:13:05 +0100 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-2) with esmtp id 1RPfUF-0004r5-IY; Sun, 13 Nov 2011 20:13:04 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752306Ab1KMTNA (ORCPT <rfc822;patchwork@linuxtv.org> + 3 others); Sun, 13 Nov 2011 14:13:00 -0500 Received: from mail.kapsi.fi ([217.30.184.167]:52460 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413Ab1KMTM7 (ORCPT <rfc822;linux-media@vger.kernel.org>); Sun, 13 Nov 2011 14:12:59 -0500 Received: from dyn3-82-128-184-142.psoas.suomi.net ([82.128.184.142] helo=localhost.localdomain) by mail.kapsi.fi with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <crope@iki.fi>) id 1RPfU9-00020x-Fe; Sun, 13 Nov 2011 21:12:57 +0200 Message-ID: <4EC016B9.1080306@iki.fi> Date: Sun, 13 Nov 2011 21:12:57 +0200 From: Antti Palosaari <crope@iki.fi> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Thunderbird/3.1.15 MIME-Version: 1.0 To: Mauro Carvalho Chehab <mchehab@redhat.com>, linux-media@vger.kernel.org CC: Michael Krufky <mkrufky@kernellabs.com> Subject: [GIT PULL FOR 3.2] misc small changes, mostly get/set IF related Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 82.128.184.142 X-SA-Exim-Mail-From: crope@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.11.13.190019 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MSGID_ADDED_BY_MTA 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' X-LSpam-Score: -4.2 (----) X-LSpam-Report: No, score=-4.2 required=5.0 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3 autolearn=ham |
Pull-request
git://linuxtv.org/anttip/media_tree.git af9015Message
Antti Palosaari
Nov. 13, 2011, 7:12 p.m. UTC
Moro These patches are rather small enchantments and should not have any visible effect. mxl5007t change is that register read fix I have mentioned earlier. Reg read is used only for checking chip ID and even if ID is not detected correctly it will still work. So no functional changes. Antti The following changes since commit df5f76dfef9bfaec1ff27d0a60a57a773bf87f0f: af9015: limit I2C access to keep FW happy (2011-11-13 03:33:30 +0200) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git af9015 Antti Palosaari (12): tda18218: implement .get_if_frequency() tda18218: fix 6 MHz default IF frequency af9013: use .get_if_frequency() when possible mt2060: implement .get_if_frequency() qt1010: implement .get_if_frequency() tda18212: implement .get_if_frequency() tda18212: round IF frequency to close hardware value cxd2820r: switch to .get_if_frequency() cxd2820r: check bandwidth earlier for DVB-T/T2 mxl5007t: fix reg read ce6230: remove experimental from Kconfig ce168: remove experimental from Kconfig drivers/media/common/tuners/mt2060.c | 9 +++- drivers/media/common/tuners/mxl5007t.c | 3 +- drivers/media/common/tuners/qt1010.c | 9 +++- drivers/media/common/tuners/tda18212.c | 17 +++++++- drivers/media/common/tuners/tda18218.c | 18 ++++++- drivers/media/common/tuners/tda18218_priv.h | 2 + drivers/media/dvb/dvb-usb/Kconfig | 4 +- drivers/media/dvb/dvb-usb/anysee.c | 7 --- drivers/media/dvb/frontends/af9013.c | 43 ++++-------------- drivers/media/dvb/frontends/cxd2820r.h | 13 ------ drivers/media/dvb/frontends/cxd2820r_c.c | 13 +++++- drivers/media/dvb/frontends/cxd2820r_t.c | 55 +++++++++++++---------- drivers/media/dvb/frontends/cxd2820r_t2.c | 62 +++++++++++++++------------ drivers/media/video/em28xx/em28xx-dvb.c | 7 --- 14 files changed, 140 insertions(+), 122 deletions(-)
Comments
Mauro, and these too for 3.3. Sorry about mistakes. regards Antti On 11/13/2011 09:12 PM, Antti Palosaari wrote: > Moro > > These patches are rather small enchantments and should not have any > visible effect. > > mxl5007t change is that register read fix I have mentioned earlier. Reg > read is used only for checking chip ID and even if ID is not detected > correctly it will still work. So no functional changes. > > Antti > > The following changes since commit > df5f76dfef9bfaec1ff27d0a60a57a773bf87f0f: > > af9015: limit I2C access to keep FW happy (2011-11-13 03:33:30 +0200) > > are available in the git repository at: > git://linuxtv.org/anttip/media_tree.git af9015 > > Antti Palosaari (12): > tda18218: implement .get_if_frequency() > tda18218: fix 6 MHz default IF frequency > af9013: use .get_if_frequency() when possible > mt2060: implement .get_if_frequency() > qt1010: implement .get_if_frequency() > tda18212: implement .get_if_frequency() > tda18212: round IF frequency to close hardware value > cxd2820r: switch to .get_if_frequency() > cxd2820r: check bandwidth earlier for DVB-T/T2 > mxl5007t: fix reg read > ce6230: remove experimental from Kconfig > ce168: remove experimental from Kconfig > > drivers/media/common/tuners/mt2060.c | 9 +++- > drivers/media/common/tuners/mxl5007t.c | 3 +- > drivers/media/common/tuners/qt1010.c | 9 +++- > drivers/media/common/tuners/tda18212.c | 17 +++++++- > drivers/media/common/tuners/tda18218.c | 18 ++++++- > drivers/media/common/tuners/tda18218_priv.h | 2 + > drivers/media/dvb/dvb-usb/Kconfig | 4 +- > drivers/media/dvb/dvb-usb/anysee.c | 7 --- > drivers/media/dvb/frontends/af9013.c | 43 ++++-------------- > drivers/media/dvb/frontends/cxd2820r.h | 13 ------ > drivers/media/dvb/frontends/cxd2820r_c.c | 13 +++++- > drivers/media/dvb/frontends/cxd2820r_t.c | 55 +++++++++++++---------- > drivers/media/dvb/frontends/cxd2820r_t2.c | 62 +++++++++++++++------------ > drivers/media/video/em28xx/em28xx-dvb.c | 7 --- > 14 files changed, 140 insertions(+), 122 deletions(-) > >
Em 13-11-2011 17:20, Antti Palosaari escreveu: > Mauro, > and these too for 3.3. Sorry about mistakes. In fact, those 3 patches seemed to be good for 3.2: 576b849 [media] mxl5007t: fix reg read d7d89dc [media] tda18218: fix 6 MHz default IF frequency ff83bd8 [media] af9015: limit I2C access to keep FW happy So, I've backported d7d89dc to 3.2, and applied there. the others, I've added for 3.3. > > regards > Antti > > On 11/13/2011 09:12 PM, Antti Palosaari wrote: >> Moro >> >> These patches are rather small enchantments and should not have any >> visible effect. >> >> mxl5007t change is that register read fix I have mentioned earlier. Reg >> read is used only for checking chip ID and even if ID is not detected >> correctly it will still work. So no functional changes. >> >> Antti >> >> The following changes since commit >> df5f76dfef9bfaec1ff27d0a60a57a773bf87f0f: >> >> af9015: limit I2C access to keep FW happy (2011-11-13 03:33:30 +0200) >> >> are available in the git repository at: >> git://linuxtv.org/anttip/media_tree.git af9015 >> >> Antti Palosaari (12): >> tda18218: implement .get_if_frequency() >> tda18218: fix 6 MHz default IF frequency >> af9013: use .get_if_frequency() when possible >> mt2060: implement .get_if_frequency() >> qt1010: implement .get_if_frequency() >> tda18212: implement .get_if_frequency() >> tda18212: round IF frequency to close hardware value >> cxd2820r: switch to .get_if_frequency() >> cxd2820r: check bandwidth earlier for DVB-T/T2 >> mxl5007t: fix reg read >> ce6230: remove experimental from Kconfig >> ce168: remove experimental from Kconfig >> >> drivers/media/common/tuners/mt2060.c | 9 +++- >> drivers/media/common/tuners/mxl5007t.c | 3 +- >> drivers/media/common/tuners/qt1010.c | 9 +++- >> drivers/media/common/tuners/tda18212.c | 17 +++++++- >> drivers/media/common/tuners/tda18218.c | 18 ++++++- >> drivers/media/common/tuners/tda18218_priv.h | 2 + >> drivers/media/dvb/dvb-usb/Kconfig | 4 +- >> drivers/media/dvb/dvb-usb/anysee.c | 7 --- >> drivers/media/dvb/frontends/af9013.c | 43 ++++-------------- >> drivers/media/dvb/frontends/cxd2820r.h | 13 ------ >> drivers/media/dvb/frontends/cxd2820r_c.c | 13 +++++- >> drivers/media/dvb/frontends/cxd2820r_t.c | 55 +++++++++++++---------- >> drivers/media/dvb/frontends/cxd2820r_t2.c | 62 +++++++++++++++------------ >> drivers/media/video/em28xx/em28xx-dvb.c | 7 --- >> 14 files changed, 140 insertions(+), 122 deletions(-) >> >> > > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 11/24/2011 09:58 PM, Mauro Carvalho Chehab wrote: > Em 13-11-2011 17:20, Antti Palosaari escreveu: >> Mauro, >> and these too for 3.3. Sorry about mistakes. > > In fact, those 3 patches seemed to be good for 3.2: > > 576b849 [media] mxl5007t: fix reg read > d7d89dc [media] tda18218: fix 6 MHz default IF frequency > ff83bd8 [media] af9015: limit I2C access to keep FW happy > > So, I've backported d7d89dc to 3.2, and applied there. the others, > I've added for 3.3. You could put mxl5007t and tda18218. But as I changed tda18218 to support .get_if_frequency() just before that fix and it touches same code lines, it will not apply unless you do some hand editing or apply tda18218 get_if_frequency() patch too. DO *NOT* push af9015 I2C patch to the 3.2. I see there could be potential problems if there is heavy demodulator I2C traffic since it forces to wait some I2C related tasks. I suspect that could lead bad situation when there is more traffic we can handle due to I2C access waiting coming from patch. I have optimized af9013 I2C load, reduced it rather much switching multibyte I2C where possible and running statistic polls using timers in backround. Now it returns all statistics from cache and not make any statistics queries directly when userspace app is asking. After my af9013 optimizations are ready those could be put to master, which will happen likely 3.3 schedule. It is absolutely too risky put that single patch to 3.2. regards Antti