Subversion Repositories Kolibri OS

Rev

Rev 5078 | Rev 6104 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5078 Rev 5271
Line 1213... Line 1213...
1213
	if (ws)
1213
	if (ws)
1214
		kfree(ectx.ws);
1214
		kfree(ectx.ws);
1215
	return ret;
1215
	return ret;
1216
}
1216
}
Line 1217... Line 1217...
1217
 
1217
 
1218
int atom_execute_table(struct atom_context *ctx, int index, uint32_t * params)
1218
int atom_execute_table_scratch_unlocked(struct atom_context *ctx, int index, uint32_t * params)
1219
{
1219
{
Line 1220... Line 1220...
1220
	int r;
1220
	int r;
1221
 
1221
 
Line 1234... Line 1234...
1234
	r = atom_execute_table_locked(ctx, index, params);
1234
	r = atom_execute_table_locked(ctx, index, params);
1235
	mutex_unlock(&ctx->mutex);
1235
	mutex_unlock(&ctx->mutex);
1236
	return r;
1236
	return r;
1237
}
1237
}
Line -... Line 1238...
-
 
1238
 
-
 
1239
int atom_execute_table(struct atom_context *ctx, int index, uint32_t * params)
-
 
1240
{
-
 
1241
	int r;
-
 
1242
	mutex_lock(&ctx->scratch_mutex);
-
 
1243
	r = atom_execute_table_scratch_unlocked(ctx, index, params);
-
 
1244
	mutex_unlock(&ctx->scratch_mutex);
-
 
1245
	return r;
-
 
1246
}
1238
 
1247
 
Line 1239... Line 1248...
1239
static int atom_iio_len[] = { 1, 2, 3, 3, 3, 3, 4, 4, 4, 3 };
1248
static int atom_iio_len[] = { 1, 2, 3, 3, 3, 3, 4, 4, 4, 3 };
1240
 
1249
 
1241
static void atom_index_iio(struct atom_context *ctx, int base)
1250
static void atom_index_iio(struct atom_context *ctx, int base)