From: tomasz.figa@gmail.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ASoC: Samsung: Modify the I2S driver to support I2S on Exynos5420
Date: Thu, 11 Jul 2013 13:07:13 +0200 [thread overview]
Message-ID: <10406176.2lc5qJ8Oq7@thinkpad> (raw)
In-Reply-To: <20130711104804.GK24508@sirena.org.uk>
On Thursday 11 of July 2013 11:48:04 Mark Brown wrote:
> On Thu, Jul 11, 2013 at 12:38:24PM +0530, Padmavathi Venna wrote:
> > -#define MOD_LR_LLOW (0 << 7)
> > -#define MOD_LR_RLOW (1 << 7)
> > -#define MOD_SDF_IIS (0 << 5)
> > -#define MOD_SDF_MSB (1 << 5)
> > -#define MOD_SDF_LSB (2 << 5)
> > -#define MOD_SDF_MASK (3 << 5)
> >
> > +#define MOD_LR_LLOW 0
> > +#define MOD_LR_RLOW 1
> > +#define MOD_SDF_SHIFT 5
> > +#define MOD_SDF_IIS 0
> > +#define MOD_SDF_MSB 1
> > +#define MOD_SDF_LSB 2
> > +#define MOD_SDF_MASK 3
>
> This patch has an awful lot of coding style changes like this which
> are just coding style changes and not implementing TDM support. These
> should be done separately, not as part of the same patch, in order to
> make the code easier to review.
>
> > case 768:
> > - mod |= MOD_RCLK_768FS;
> > + mod |= (MOD_RCLK_768FS << rfs_shift);
> >
> > break;
>
> This stuff is another example.
>
> I think the change itself should be fine but I'm not 100% sure I'm
> correctly identifying what's a stylistic change and what's a functional
> change.
Right. This could be split into two patches, first reworking the style to give
more flexibility with operations on registers and another one adding TDM
specific changes, like new bitfield definitions and conditional handling of
register accesses to account for new bitfield locations.
Best regards,
Tomasz
next prev parent reply other threads:[~2013-07-11 11:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 7:08 [PATCH] ASoC: Samsung: Modify the I2S driver to support I2S on Exynos5420 Padmavathi Venna
2013-07-11 7:08 ` [PATCH] ASoC: Samsung: Set RFS and BFS in slave mode Padmavathi Venna
2013-07-11 11:11 ` Mark Brown
2013-07-12 4:42 ` Padma Venkat
2013-07-11 10:43 ` [PATCH] ASoC: Samsung: Modify the I2S driver to support I2S on Exynos5420 Tomasz Figa
2013-07-11 11:20 ` Mark Brown
2013-07-11 11:41 ` Tomasz Figa
2013-07-11 13:01 ` Mark Brown
2013-07-12 4:37 ` Padma Venkat
2013-07-12 8:49 ` Mark Brown
2013-07-23 4:08 ` Padma Venkat
2013-07-23 19:44 ` Mark Brown
2013-07-12 10:13 ` Tomasz Figa
2013-07-12 11:18 ` Mark Brown
2013-07-11 10:48 ` Mark Brown
2013-07-11 11:07 ` Tomasz Figa [this message]
2013-07-12 4:22 ` Padma Venkat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10406176.2lc5qJ8Oq7@thinkpad \
--to=tomasz.figa@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).