Rev 1963 | Rev 2160 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1963 | Rev 1986 | ||
---|---|---|---|
Line 793... | Line 793... | ||
793 | struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); |
793 | struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); |
794 | struct radeon_device *rdev = i2c->dev->dev_private; |
794 | struct radeon_device *rdev = i2c->dev->dev_private; |
795 | struct radeon_i2c_bus_rec *rec = &i2c->rec; |
795 | struct radeon_i2c_bus_rec *rec = &i2c->rec; |
796 | int ret = 0; |
796 | int ret = 0; |
Line 797... | Line -... | ||
797 | - | ||
798 | ENTER(); |
- | |
799 | 797 | ||
800 | switch (rdev->family) { |
798 | switch (rdev->family) { |
801 | case CHIP_R100: |
799 | case CHIP_R100: |
802 | case CHIP_RV100: |
800 | case CHIP_RV100: |
803 | case CHIP_RS100: |
801 | case CHIP_RS100: |
Line 860... | Line 858... | ||
860 | default: |
858 | default: |
861 | DRM_ERROR("i2c: unhandled radeon chip\n"); |
859 | DRM_ERROR("i2c: unhandled radeon chip\n"); |
862 | ret = -EIO; |
860 | ret = -EIO; |
863 | break; |
861 | break; |
864 | } |
862 | } |
865 | LEAVE(); |
- | |
Line 866... | Line 863... | ||
866 | 863 | ||
867 | return ret; |
864 | return ret; |
Line 868... | Line 865... | ||
868 | } |
865 | } |