Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5179 → Rev 5271

/drivers/video/drm/radeon/dce6_afmt.c
155,7 → 155,7
struct drm_connector *connector;
struct radeon_connector *radeon_connector = NULL;
u32 offset, tmp;
u8 *sadb;
u8 *sadb = NULL;
int sad_count;
 
if (!dig || !dig->afmt || !dig->afmt->pin)
284,13 → 284,13
 
void dce6_audio_enable(struct radeon_device *rdev,
struct r600_audio_pin *pin,
bool enable)
u8 enable_mask)
{
if (!pin)
return;
 
WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL,
enable ? AUDIO_ENABLED : 0);
WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL,
enable_mask ? AUDIO_ENABLED : 0);
}
 
static const u32 pin_offsets[7] =