Kuninori Morimoto dec6aa49ab fbdev: sh_mobile_hdmi: modify flags name to more specific
This patch solve below report from Guennadi

1)

> +/* Audio source select */
> +#define HDMI_SRC_MASK		(0xF << 0)
> +#define HDMI_SRC_I2S		(0 << 0) /* default */
> +#define HDMI_SRC_SPDIF		(1 << 0)
> +#define HDMI_SRC_DSD		(2 << 0)
> +#define HDMI_SRC_HBR		(3 << 0)

I would be more specific with these macro names, i.e., include "AUDIO" or
"SND" or something similar in them, e.g., HDMI_AUDIO_SRC_I2S.

2)

> +	case HDMI_SRC_I2S:
> +		data = (0x0 << 3);
> +		break;
> +	case HDMI_SRC_SPDIF:
> +		data = (0x1 << 3);
> +		break;
> +	case HDMI_SRC_DSD:
> +		data = (0x2 << 3);
> +		break;
> +	case HDMI_SRC_HBR:
> +		data = (0x3 << 3);

In all above cases parenthesis are superfluous.

Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-09-10 16:07:41 +01:00
..
2010-07-19 10:56:54 +02:00
2010-05-25 08:07:08 -07:00
2010-05-25 08:07:08 -07:00
2009-04-01 08:59:32 -07:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2009-12-16 07:20:04 -08:00
2010-05-03 15:42:58 +02:00
2010-08-11 08:59:09 -07:00
2009-05-06 16:36:10 -07:00
2010-08-11 08:59:12 -07:00
2010-07-26 19:08:13 +01:00
2010-05-25 08:07:08 -07:00
2010-05-25 08:07:09 -07:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2008-04-28 08:58:41 -07:00
2009-01-06 15:59:27 -08:00
2010-03-12 15:52:34 -08:00
2009-01-06 15:59:27 -08:00
2010-05-25 08:07:09 -07:00
2010-05-27 09:12:42 -07:00
2010-05-25 08:07:09 -07:00
2010-02-09 11:13:56 +01:00
2010-06-16 18:05:05 +02:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00
2010-05-25 08:07:08 -07:00
2010-05-25 08:07:08 -07:00