diff options
Diffstat (limited to 'drivers/ps3')
-rw-r--r-- | drivers/ps3/ps3av.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/ps3/ps3av.c b/drivers/ps3/ps3av.c index cae4af9959d3..53179f35264e 100644 --- a/drivers/ps3/ps3av.c +++ b/drivers/ps3/ps3av.c | |||
@@ -903,27 +903,6 @@ int ps3av_get_auto_mode(int boot) | |||
903 | 903 | ||
904 | EXPORT_SYMBOL_GPL(ps3av_get_auto_mode); | 904 | EXPORT_SYMBOL_GPL(ps3av_get_auto_mode); |
905 | 905 | ||
906 | int ps3av_set_mode(u32 id, int boot) | ||
907 | { | ||
908 | int res; | ||
909 | |||
910 | res = ps3av_set_video_mode(id, boot); | ||
911 | if (res) | ||
912 | return res; | ||
913 | |||
914 | res = ps3av_set_audio_mode(PS3AV_CMD_AUDIO_NUM_OF_CH_2, | ||
915 | PS3AV_CMD_AUDIO_FS_48K, | ||
916 | PS3AV_CMD_AUDIO_WORD_BITS_16, | ||
917 | PS3AV_CMD_AUDIO_FORMAT_PCM, | ||
918 | PS3AV_CMD_AUDIO_SOURCE_SERIAL); | ||
919 | if (res) | ||
920 | return res; | ||
921 | |||
922 | return 0; | ||
923 | } | ||
924 | |||
925 | EXPORT_SYMBOL_GPL(ps3av_set_mode); | ||
926 | |||
927 | int ps3av_get_mode(void) | 906 | int ps3av_get_mode(void) |
928 | { | 907 | { |
929 | return ps3av ? ps3av->ps3av_mode : 0; | 908 | return ps3av ? ps3av->ps3av_mode : 0; |