diff mbox

pci: maxreadreq: Audio device to chipset devices.

Message ID 1366702460-32305-1-git-send-email-alex.hung@canonical.com
State Accepted
Headers show

Commit Message

Alex Hung April 23, 2013, 7:34 a.m. UTC
In Intel chipset databook, Audio's "Max Read Request" is hardwired to 0
enabling 128B maximum read request size.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/pci/maxreadreq/maxreadreq.c |    2 ++
 1 file changed, 2 insertions(+)

Comments

Colin Ian King April 23, 2013, 8:16 a.m. UTC | #1
On 23/04/13 08:34, Alex Hung wrote:
> In Intel chipset databook, Audio's "Max Read Request" is hardwired to 0
> enabling 128B maximum read request size.
>
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>   src/pci/maxreadreq/maxreadreq.c |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/pci/maxreadreq/maxreadreq.c b/src/pci/maxreadreq/maxreadreq.c
> index 0168356..b95e579 100644
> --- a/src/pci/maxreadreq/maxreadreq.c
> +++ b/src/pci/maxreadreq/maxreadreq.c
> @@ -103,6 +103,8 @@ static int maxreadreq_test1(fwts_framework *fw)
>   			continue;
>   		if (strcmp(current_type, "System peripheral")==0)
>   			continue;
> +		if (strcmp(current_type, "Audio device")==0)
> +			continue;
>
>   		c = strstr(line, "MaxReadReq ");
>   		if (c) {
>
Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu April 24, 2013, 8:32 a.m. UTC | #2
On 04/23/2013 03:34 PM, Alex Hung wrote:
> In Intel chipset databook, Audio's "Max Read Request" is hardwired to 0
> enabling 128B maximum read request size.
>
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>   src/pci/maxreadreq/maxreadreq.c |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/pci/maxreadreq/maxreadreq.c b/src/pci/maxreadreq/maxreadreq.c
> index 0168356..b95e579 100644
> --- a/src/pci/maxreadreq/maxreadreq.c
> +++ b/src/pci/maxreadreq/maxreadreq.c
> @@ -103,6 +103,8 @@ static int maxreadreq_test1(fwts_framework *fw)
>   			continue;
>   		if (strcmp(current_type, "System peripheral")==0)
>   			continue;
> +		if (strcmp(current_type, "Audio device")==0)
> +			continue;
>
>   		c = strstr(line, "MaxReadReq ");
>   		if (c) {
>

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

diff --git a/src/pci/maxreadreq/maxreadreq.c b/src/pci/maxreadreq/maxreadreq.c
index 0168356..b95e579 100644
--- a/src/pci/maxreadreq/maxreadreq.c
+++ b/src/pci/maxreadreq/maxreadreq.c
@@ -103,6 +103,8 @@  static int maxreadreq_test1(fwts_framework *fw)
 			continue;
 		if (strcmp(current_type, "System peripheral")==0)
 			continue;
+		if (strcmp(current_type, "Audio device")==0)
+			continue;
 
 		c = strstr(line, "MaxReadReq ");
 		if (c) {