powerpc/ps3: Fix lv1_gpu_attribute hcall

The lv1_gpu_attribute hcall takes three, not five input
arguments.  Adjust the lv1 hcall table and all calls.

Signed-off-by: Geoff Levand <[email protected]>
CC: Takashi Iwai <[email protected]>
Acked-by: Takashi Iwai <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
Geoff Levand 2011-10-12 08:42:13 +00:00 • committed by Benjamin Herrenschmidt
commit 9fce85f7ff
2 changed files with 2 additions and 2 deletions

View file

@ -876,7 +876,7 @@ static void __devinit snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
(0x0fUL << 12) |
(PS3_AUDIO_IOID);
ret = lv1_gpu_attribute(0x100, 0x007, val, 0, 0);
ret = lv1_gpu_attribute(0x100, 0x007, val);
if (ret)
pr_info("%s: gpu_attribute failed %d\n", __func__,
ret);